DeviceTemplate class

An object representing a device for a placement template (see PlacementTemplate).

Constructors

DeviceTemplate({Map<String, String>? callbackOverrides, String? deviceType})
DeviceTemplate.fromJson(Map<String, dynamic> json)
factory

Properties

callbackOverrides Map<String, String>?
An optional Lambda function to invoke instead of the default Lambda function provided by the placement template.
final
deviceType String?
The device type, which currently must be "button".
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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