ErrModel class

Generated class for _ErrModel.

Constructors

ErrModel.new({required String? type, required String? error, int? statusCode, List<String>? stackTrace})
Constructs a new instance of ErrModel from optional and required parameters.
const

Properties

error String?
No description provided.
final
error$ String
Returns the value of the error field. If the field is nullable, the return value may be null; otherwise, it will always return a non-null value.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace List<String>?
No description provided.
final
stackTrace$ List<String>?
Returns the value of the stackTrace field. If the field is nullable, the return value may be null; otherwise, it will always return a non-null value.
no setter
statusCode int?
No description provided.
final
statusCode$ int?
Returns the value of the statusCode field. If the field is nullable, the return value may be null; otherwise, it will always return a non-null value.
no setter
type String?
No description provided.
final
type$ String
Returns the value of the type field. If the field is nullable, the return value may be null; otherwise, it will always return a non-null value.
no setter

Methods

copyWith({String? type, String? error, int? statusCode, List<String>? stackTrace}) ErrModel
Creates a copy of this instance, replacing the specified fields.
copyWithout({bool type = true, bool error = true, bool statusCode = true, bool stackTrace = true}) ErrModel
Creates a copy of this instance, removing the specified fields.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited