FormError constructor

FormError({
  1. required int errorCode,
  2. required String message,
})

Init a FormError with the errorCode and message.

Implementation

FormError({required this.errorCode, required this.message});