Location.fromJson constructor

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

Implementation

Location.fromJson(Map<String, Object?> json)
    : alias = json['alias'] as String,
      fields = json['fields'] as Map<String, Object?>,
      protocol = json['protocol'] as String;