toJson method
Implementation
Map<String, dynamic> toJson() {
final dataResources = this.dataResources;
final excludeManagementEventSources = this.excludeManagementEventSources;
final includeManagementEvents = this.includeManagementEvents;
final readWriteType = this.readWriteType;
return {
if (dataResources != null) 'DataResources': dataResources,
if (excludeManagementEventSources != null)
'ExcludeManagementEventSources': excludeManagementEventSources,
if (includeManagementEvents != null)
'IncludeManagementEvents': includeManagementEvents,
if (readWriteType != null) 'ReadWriteType': readWriteType.toValue(),
};
}