toJson method

Map<String, Object?> toJson()

Implementation

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