MapLoadingErrorEventData.fromJson constructor Null safety
Implementation
MapLoadingErrorEventData.fromJson(Map<String, dynamic> json)
: begin = json['begin'],
end = json['end'],
type = EnumToString.fromString(MapLoadErrorType.values,
json['type'].toUpperCase().replaceAll("-", "_"))!,
message = json['message'],
sourceId = json['source-id'],
tileId =
json['tile-id'] != null ? TileID.fromJson(json['tile-id']) : null;