ValidationErrorModel constructor

ValidationErrorModel({
  1. required String? message,
  2. required dynamic property,
})

Creates a new instance of ValidationErrorModel.

The message and property parameters can be used to specify the message and property for the validation error.

Implementation

ValidationErrorModel({
  required this.message,
  required this.property,
});