toJsonForDatabase method
Will create a serialization of with the fields that are stored in the database only.
Implementation
@override
Map<String, dynamic> toJsonForDatabase() {
return {
'id': id,
'userIdentifier': userIdentifier,
'userName': userName,
'fullName': fullName,
'email': email,
'created': created,
'imageUrl': imageUrl,
'scopeNames': scopeNames,
'blocked': blocked,
};
}