BatchCreateOccurrencesResponse.fromJson constructor

BatchCreateOccurrencesResponse.fromJson(
  1. Map json_
)

Implementation

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