toJson method
Implementation
Map<String, Object?> toJson() {
return {
'success': success,
'failed': failed,
'error': error,
'errors': errors,
'errorHtml': errorHtml,
'valid': valid,
'value': value,
'parsedValue': parsedValue,
};
}