toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (conditionalValues != null) 'conditionalValues': conditionalValues!,
      if (defaultValue != null) 'defaultValue': defaultValue!,
      if (description != null) 'description': description!,
      if (valueType != null) 'valueType': valueType!,
    };