LogEntrySourceLocation.fromJson constructor

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

Implementation

factory LogEntrySourceLocation.fromJson(Map<String, dynamic> json) {
  return LogEntrySourceLocation(
    file: json['file'] ?? '',
    line: decodeInt64(json['line']) ?? 0,
    function: json['function'] ?? '',
  );
}