toJson method
Implementation
Map<String, dynamic> toJson() {
final allowedValues = this.allowedValues;
final applyType = this.applyType;
final dataType = this.dataType;
final defaultValue = this.defaultValue;
final description = this.description;
final isCollection = this.isCollection;
final isModifiable = this.isModifiable;
final name = this.name;
final value = this.value;
return {
if (allowedValues != null) 'AllowedValues': allowedValues,
if (applyType != null) 'ApplyType': applyType,
if (dataType != null) 'DataType': dataType,
if (defaultValue != null) 'DefaultValue': defaultValue,
if (description != null) 'Description': description,
if (isCollection != null) 'IsCollection': isCollection,
if (isModifiable != null) 'IsModifiable': isModifiable,
if (name != null) 'Name': name,
if (value != null) 'Value': value,
};
}