ThingGroupProperties.fromMap constructor
ThingGroupProperties.fromMap(
- Map<String, dynamic> map
)
Implementation
factory ThingGroupProperties.fromMap(Map<String, dynamic> map) {
return ThingGroupProperties(
attributePayload: (() { final guardedValue = map['attributePayload']; if (guardedValue == null) return null; return pulumi.Input.fromValue(ThingGroupPropertiesAttributePayload.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
description: (() { final guardedValue = map['description']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}