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