LogEntry.fromMap constructor Null safety

LogEntry.fromMap(
  1. 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?);