LogEntry.fromJson constructor

LogEntry.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory LogEntry.fromJson(Map<String, dynamic> json) {
  return LogEntry(type: json['type'] as String? ?? 'unknown', data: json);
}