BatchCreateOccurrencesRequest.fromJson constructor

BatchCreateOccurrencesRequest.fromJson(
  1. Map json_
)

Implementation

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