SearchDeviceModelRes class

Available extensions
Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

SearchDeviceModelRes({List<DeviceModel>? entities, required bool ok, String? msg, int? page, int? size, int? total})
const
SearchDeviceModelRes.fromJson(Map<String, dynamic> json)
factory

Properties

entities List<DeviceModel>?
final
hashCode int
The hash code for this object.
no setteroverride
msg String?
final
ok bool
final
page int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int?
final
total int?
final

Methods

copyWith({List<DeviceModel>? entities, bool? ok, String? msg, int? page, int? size, int? total}) SearchDeviceModelRes

Available on SearchDeviceModelRes, provided by the $SearchDeviceModelResExtension extension

copyWithWrapped({Wrapped<List<DeviceModel>?>? entities, Wrapped<bool>? ok, Wrapped<String?>? msg, Wrapped<int?>? page, Wrapped<int?>? size, Wrapped<int?>? total}) SearchDeviceModelRes

Available on SearchDeviceModelRes, provided by the $SearchDeviceModelResExtension extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(dynamic other) bool
The equality operator.
override

Constants

fromJsonFactory → const SearchDeviceModelRes Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(SearchDeviceModelRes instance)