QueryGrantableRolesResponse.fromJson constructor

QueryGrantableRolesResponse.fromJson(
  1. Map json_
)

Implementation

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