ResponseModel constructor
ResponseModel({
- int? statusCode,
- String? message,
- dynamic data,
- int? affectedRows,
- dynamic extra,
- List<
ValidationErrorModel> ? required,
Creates a new instance of ResponseModel.
The parameters can be used to specify the initial values for the response model's properties.
Implementation
ResponseModel({
this.statusCode,
this.message,
this.data,
this.affectedRows,
this.extra,
this.required,
});