Location.fromJson constructor
Location.fromJson(
- Map json_
Implementation
Location.fromJson(core.Map json_)
: this(
features: json_.containsKey('features')
? (json_['features'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
locationId: json_.containsKey('locationId')
? json_['locationId'] as core.String
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
);