toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      if (conditionDescription != null)
        'conditionDescription': conditionDescription,
      if (defaultValue != null) 'default': defaultValue,
      if (description != null) 'description': description,
      'filter': filter,
      'label': label,
      if (supportsCondition != null) 'supportsCondition': supportsCondition,
    };