ListNoteOccurrencesResponse.fromJson constructor

ListNoteOccurrencesResponse.fromJson(
  1. Map _json
)

Implementation

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