SearchDeviceRes class

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

Constructors

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

Properties

entities List<Device>?
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<Device>? entities, bool? ok, String? msg, int? page, int? size, int? total}) SearchDeviceRes

Available on SearchDeviceRes, provided by the $SearchDeviceResExtension extension

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

Available on SearchDeviceRes, provided by the $SearchDeviceResExtension 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 SearchDeviceRes Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(SearchDeviceRes instance)