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