ErrorModel constructor
Creates a new instance of ErrorModel.
source
: Identifies where the error originated.message
: Provides details about the error.
Implementation
const ErrorModel({
required this.source,
required this.message,
});
Creates a new instance of ErrorModel.
source
: Identifies where the error originated.message
: Provides details about the error.const ErrorModel({
required this.source,
required this.message,
});