GenerateIdTokenRequest.fromJson constructor Null safety

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,
      );