asMap method
Returns the current instance as a serialized Map.
Implementation
Map<String, dynamic> asMap() {
return <String, dynamic>{
'providerId': providerId,
'signInMethod': signInMethod,
'token': token,
'accessToken': accessToken,
};
}