StatusModel class

Constructors

StatusModel.new({required bool ok, int? error, String? errorMessage, String? data})
StatusModel.fromJson(String source)
factory
StatusModel.fromMap(Map<String, dynamic> map)
factory

Properties

data String?
getter/setter pair
error int?
getter/setter pair
errorMessage String?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
ok bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({bool? ok, int? error, String? errorMessage, String? data}) StatusModel
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(covariant StatusModel other) bool
The equality operator.
override