toJson method
Implementation
Map<String, dynamic> toJson() {
final type = this.type;
final managedServiceData = this.managedServiceData;
return {
'Type': type.toValue(),
if (managedServiceData != null) 'ManagedServiceData': managedServiceData,
};
}