toMap method
Implementation
Map<String, dynamic> toMap() {
return {
"\$id": $id,
"\$createdAt": $createdAt,
"userId": userId,
"expire": expire,
"provider": provider,
"providerUid": providerUid,
"providerAccessToken": providerAccessToken,
"providerAccessTokenExpiry": providerAccessTokenExpiry,
"providerRefreshToken": providerRefreshToken,
"ip": ip,
"osCode": osCode,
"osName": osName,
"osVersion": osVersion,
"clientType": clientType,
"clientCode": clientCode,
"clientName": clientName,
"clientVersion": clientVersion,
"clientEngine": clientEngine,
"clientEngineVersion": clientEngineVersion,
"deviceName": deviceName,
"deviceBrand": deviceBrand,
"deviceModel": deviceModel,
"countryCode": countryCode,
"countryName": countryName,
"current": current,
};
}