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