SignupNewUserResponse.fromJson constructor

SignupNewUserResponse.fromJson(
  1. Map _json
)

Implementation

SignupNewUserResponse.fromJson(core.Map _json)
    : this(
        displayName: _json.containsKey('displayName')
            ? _json['displayName'] as core.String
            : null,
        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,
        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,
      );