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