ListScopesResponse.fromJson constructor

ListScopesResponse.fromJson(
  1. Map json_
)

Implementation

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