LogEntry.fromMap constructor Null safety
- Map map
Implementation
LogEntry.fromMap(Map map)
: this(
map['message'] as String?,
DateTime.fromMillisecondsSinceEpoch(
(map['timestamp'] as num).toInt(),
isUtc: true,
),
map['level'] as String?);