DeviceCore class

Constructors

DeviceCore({required String id, required String name, required int temperatureOffset, required int humidityOffset, required DateTime createdAt, required DateTime updatedAt, required String firmwareVersion, required String macAddress, required String serialNumber})
DeviceCore.fromJson(Map<String, dynamic> json)
factory

Properties

createdAt DateTime
final
firmwareVersion String
final
hashCode int
The hash code for this object.
no setterinherited
humidityOffset int
final
id String
final
macAddress String
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serialNumber String
final
temperatureOffset int
final
updatedAt DateTime
final

Methods

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.
inherited

Operators

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