EmailLinkSigninResponse.fromJson constructor

EmailLinkSigninResponse.fromJson(
  1. Map _json
)

Implementation

EmailLinkSigninResponse.fromJson(core.Map _json)
    : this(
        email:
            _json.containsKey('email') ? _json['email'] as core.String : null,
        expiresIn: _json.containsKey('expiresIn')
            ? _json['expiresIn'] as core.String
            : null,
        idToken: _json.containsKey('idToken')
            ? _json['idToken'] as core.String
            : null,
        isNewUser: _json.containsKey('isNewUser')
            ? _json['isNewUser'] as core.bool
            : null,
        kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
        localId: _json.containsKey('localId')
            ? _json['localId'] as core.String
            : null,
        refreshToken: _json.containsKey('refreshToken')
            ? _json['refreshToken'] as core.String
            : null,
      );