toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final comparator = this.comparator;
  final qualificationTypeId = this.qualificationTypeId;
  final actionsGuarded = this.actionsGuarded;
  final integerValues = this.integerValues;
  final localeValues = this.localeValues;
  final requiredToPreview = this.requiredToPreview;
  return {
    'Comparator': comparator.toValue(),
    'QualificationTypeId': qualificationTypeId,
    if (actionsGuarded != null) 'ActionsGuarded': actionsGuarded.toValue(),
    if (integerValues != null) 'IntegerValues': integerValues,
    if (localeValues != null) 'LocaleValues': localeValues,
    if (requiredToPreview != null) 'RequiredToPreview': requiredToPreview,
  };
}