ListNotesResponse.fromJson constructor

ListNotesResponse.fromJson(
  1. Map json_
)

Implementation

ListNotesResponse.fromJson(core.Map json_)
    : this(
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        notes: json_.containsKey('notes')
            ? (json_['notes'] as core.List)
                .map((value) => Note.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );