ByteMatchSetState.fromMap constructor
ByteMatchSetState.fromMap(
- Map<String, dynamic> map
)
Implementation
factory ByteMatchSetState.fromMap(Map<String, dynamic> map) {
return ByteMatchSetState(
arn: (() { final guardedValue = map['arn']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
byteMatchTuples: (() { final guardedValue = map['byteMatchTuples']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<ByteMatchSetByteMatchTuple>(guardedValue, (value) => ByteMatchSetByteMatchTuple.fromMap((value as Map).cast<String, dynamic>()))); })(),
name: (() { final guardedValue = map['name']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}