GenerateIdTokenRequest.fromJson constructor

GenerateIdTokenRequest.fromJson(
  1. Map json_
)

Implementation

GenerateIdTokenRequest.fromJson(core.Map json_)
    : this(
        audience: json_.containsKey('audience')
            ? json_['audience'] as core.String
            : null,
        delegates: json_.containsKey('delegates')
            ? (json_['delegates'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        includeEmail: json_.containsKey('includeEmail')
            ? json_['includeEmail'] as core.bool
            : null,
      );