PlacementTemplate class

An object defining the template for a placement.

Annotations
  • @JsonSerializable(includeIfNull: false, explicitToJson: true, createFactory: true, createToJson: true)

Constructors

PlacementTemplate({Map<String, String> defaultAttributes, Map<String, DeviceTemplate> deviceTemplates})
PlacementTemplate.fromJson(Map<String, dynamic> json)
factory

Properties

defaultAttributes Map<String, String>
The default attributes (key/value pairs) to be applied to all placements using this template.
@JsonKey(name: 'defaultAttributes'), final
deviceTemplates Map<String, DeviceTemplate>
An object specifying the DeviceTemplate for all placements using this (PlacementTemplate) template.
@JsonKey(name: 'deviceTemplates'), final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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