toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'unconfirmedSession',
if (extra != null) '@extra': extra,
'id': id,
'log_in_date': log_in_date,
'device_model': device_model,
'location': location
};
}