ListExamplesResponse.fromJson constructor

ListExamplesResponse.fromJson(
  1. Map json_
)

Implementation

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