Location.fromJson constructor

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

Implementation

factory Location.fromJson(Map<String, Object?> json) => Location(
  json['uri'] as String,
  Range.fromJson(json['range'] as Map<String, Object?>),
);