DeviceInstance class

An instance of Device

Inheritance
Annotations
  • @immutable

Constructors

DeviceInstance({required Device device})
Creates a new instance of DeviceInstance

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
The name for the instance. This is basically the class name of the instance.
finalinherited
properties → List<Property>
The properties which are defined by the instance.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
trailingComma → bool
Specifies if a trailing comma should be inserted into the code. This leads to better code formatting.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCode() → String
Transforms the BaseInstance or its implementation into Code (a String)
inherited
toString() → String
A string representation of this object.
inherited

Operators

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