BatchCreateOccurrencesResponse.fromJson constructor
BatchCreateOccurrencesResponse.fromJson(
- Map _json
Implementation
BatchCreateOccurrencesResponse.fromJson(core.Map _json)
: this(
occurrences: _json.containsKey('occurrences')
? (_json['occurrences'] as core.List)
.map<Occurrence>((value) => Occurrence.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);