toJson method
Implementation
Map<String, dynamic> toJson() {
final namespace = this.namespace;
final optionName = this.optionName;
final resourceName = this.resourceName;
final value = this.value;
return {
if (namespace != null) 'Namespace': namespace,
if (optionName != null) 'OptionName': optionName,
if (resourceName != null) 'ResourceName': resourceName,
if (value != null) 'Value': value,
};
}