toMap method
Converts the object into a Json encodable map.
Implementation
@override
JsonMap toMap() => {
'id': id,
'username': username,
'email': email,
}.compact();
Converts the object into a Json encodable map.
@override
JsonMap toMap() => {
'id': id,
'username': username,
'email': email,
}.compact();