Location.fromJson constructor

Location.fromJson(
  1. Map<String, Object?> map
)

Implementation

factory Location.fromJson(Map<String, Object?> map) {
  return Location(
    uri: map[_uriKey] as String,
    line: map[_lineKey] as int?,
    column: map[_columnKey] as int?,
  );
}