toJson method

  1. @override
Map<String, Object?> toJson()
override

Implementation

@override
Map<String, Object?> toJson() {
  return {
    ValidaField.variantTypeString: variantType.toString(),
    'min': min,
    'max': max,
    'customValidate': customValidateName,
    'comp': comp?.toJson(),
  };
}