LogEntry.fromJson constructor
Implementation
factory LogEntry.fromJson(Map<String, dynamic> json) => LogEntry(
title: json['title'],
message: json['message'],
logType: LogType.values.firstWhere((e) => e.name == json['logType']),
dateTime: DateTime.parse(json['dateTime']),
file: json['file'],
line: json['line'],
);