toJsonMap method
Implementation
Map toJsonMap() {
Map map = super.toJsonMap();
map.addAll({
"openid": openid ??= null,
"token": token ??= null,
"refreshToken": refreshToken ??= null,
"expiration": expiration ??= null,
"originData": originData ??= null,
"name": name ??= null,
"imageUrl": imageUrl ??= null,
"gender": gender,
});
return map..removeWhere((key, value) => value == null);
}