IdentitytoolkitRelyingpartyGetAccountInfoRequest.fromJson constructor

IdentitytoolkitRelyingpartyGetAccountInfoRequest.fromJson(
  1. Map json_
)

Implementation

IdentitytoolkitRelyingpartyGetAccountInfoRequest.fromJson(core.Map json_)
    : this(
        delegatedProjectNumber: json_.containsKey('delegatedProjectNumber')
            ? json_['delegatedProjectNumber'] as core.String
            : null,
        email: json_.containsKey('email')
            ? (json_['email'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        idToken: json_.containsKey('idToken')
            ? json_['idToken'] as core.String
            : null,
        localId: json_.containsKey('localId')
            ? (json_['localId'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        phoneNumber: json_.containsKey('phoneNumber')
            ? (json_['phoneNumber'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );