Mutation$sendMessageToTarget$sendMessageToTarget$location.fromJson constructor
Mutation$sendMessageToTarget$sendMessageToTarget$location.fromJson(
- Map<String, dynamic> json
)
Implementation
factory Mutation$sendMessageToTarget$sendMessageToTarget$location.fromJson(
Map<String, dynamic> json) {
final l$type = json['type'];
final l$coordinates = json['coordinates'];
return Mutation$sendMessageToTarget$sendMessageToTarget$location(
type: l$type == null
? null
: fromJson$Enum$ZoneTypesEnum((l$type as String)),
coordinates: (l$coordinates as List<dynamic>?)
?.map((e) => (e as num).toDouble())
.toList(),
);
}