toJson method
Implementation
Map<String, dynamic> toJson() => {
'active_sessions': activeSessions,
'device_configuration': deviceConfiguration,
'device_unregister': deviceUnregister,
'pending_requests': pendingRequests,
'training_data': trainingData
};