DartNgFormsException constructor
DartNgFormsException(
- String message, [
- StackTrace? stackTrace
Creates a DartNgFormsException with a message describing the issue.
Optionally, you can provide a stackTrace.
Example:
throw DartNgFormsException('Field "name" cannot be empty');
Implementation
DartNgFormsException(this.message, [this.stackTrace]);