toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final allowedValues = this.allowedValues;
  final applyMethod = this.applyMethod;
  final applyType = this.applyType;
  final dataType = this.dataType;
  final description = this.description;
  final isModifiable = this.isModifiable;
  final parameterName = this.parameterName;
  final parameterValue = this.parameterValue;
  return {
    if (allowedValues != null) 'allowedValues': allowedValues,
    if (applyMethod != null) 'applyMethod': applyMethod,
    if (applyType != null) 'applyType': applyType,
    if (dataType != null) 'dataType': dataType,
    if (description != null) 'description': description,
    if (isModifiable != null) 'isModifiable': isModifiable,
    if (parameterName != null) 'parameterName': parameterName,
    if (parameterValue != null) 'parameterValue': parameterValue,
  };
}