DeviceModel class

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

Constructors

DeviceModel({String? website, String? wikiLink, String? make, String? model, String? version, List<Parameter>? parameters, String? id, required String $id, int? cstamp, String? cby, String? uby, int? ustamp, String? name, String? icon, String? description, List<String>? images})
const
DeviceModel.fromJson(Map<String, dynamic> json)
factory

Properties

$id String
final
cby String?
final
cstamp int?
final
description String?
final
hashCode int
The hash code for this object.
no setteroverride
icon String?
final
id String?
final
images List<String>?
final
final
make String?
final
model String?
final
name String?
final
parameters List<Parameter>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uby String?
final
ustamp int?
final
version String?
final
website String?
final
final

Methods

copyWith({String? website, String? wikiLink, String? make, String? model, String? version, List<Parameter>? parameters, String? id, String? $id, int? cstamp, String? cby, String? uby, int? ustamp, String? name, String? icon, String? description, List<String>? images}) DeviceModel

Available on DeviceModel, provided by the $DeviceModelExtension extension

copyWithWrapped({Wrapped<String?>? website, Wrapped<String?>? wikiLink, Wrapped<String?>? make, Wrapped<String?>? model, Wrapped<String?>? version, Wrapped<List<Parameter>?>? parameters, Wrapped<String?>? id, Wrapped<String>? $id, Wrapped<int?>? cstamp, Wrapped<String?>? cby, Wrapped<String?>? uby, Wrapped<int?>? ustamp, Wrapped<String?>? name, Wrapped<String?>? icon, Wrapped<String?>? description, Wrapped<List<String>?>? images}) DeviceModel

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