asMap method Null safety

  1. @override
Map<String, dynamic> asMap()
override

Returns the credential as a serialized Map.

Implementation

@override
Map<String, dynamic> asMap() {
  return <String, dynamic>{
    'providerId': providerId,
    'signInMethod': signInMethod,
    'verificationId': verificationId,
    'smsCode': smsCode,
    'token': token,
  };
}