DrivableDevice class

Inheritance
Annotations

Constructors

DrivableDevice({String appIdentifier, @required String driverId, @required String driverName, @required String id, @required String secret, @required String status, @required TestDeviceInfo testDeviceInfo})
factory

Properties

appIdentifier String
final
driverId String
final
driverName String
final
hashCode int
The hash code for this object. [...]
read-only, override
id String
final
pingTime DateTime
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
signature String
final
status String
final
testDeviceInfo TestDeviceInfo
final

Methods

createSignature(String secret) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
Abstract function that concrete classes must implement. This must encode the internal data model to a JSON compatible representation. [...]
override
toString() String
Returns the string encoded JSON representation for this class. This will remove all null values and empty collections from the returned string.
inherited
validateSignature(String secret) bool

Operators

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

Static Methods

fromDynamic(dynamic map) DrivableDevice