ListGuardiansResponse.fromJson constructor

ListGuardiansResponse.fromJson(
  1. Map json_
)

Implementation

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