toJson method
Implementation
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['id'] = _id;
map['email'] = _email;
map['mobile'] = _mobile;
map['firstname'] = _firstname;
map['lastname'] = _lastname;
map['pointBalance'] = _pointBalance;
map['device_id'] = _deviceId;
map['access_token'] = _accessToken;
map['access_token_expires'] = _accessTokenExpires;
map['refresh_token'] = _refreshToken;
map['refresh_token_expires'] = _refreshTokenExpires;
return map;
}