LogEntry.fromMap constructor

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?);