NetworkInsightsAnalysisForwardPathComponentAclRulePortRange.fromMap constructor
NetworkInsightsAnalysisForwardPathComponentAclRulePortRange.fromMap(
- Map<String, dynamic> map
)
Implementation
factory NetworkInsightsAnalysisForwardPathComponentAclRulePortRange.fromMap(Map<String, dynamic> map) {
return NetworkInsightsAnalysisForwardPathComponentAclRulePortRange(
from: (() { final guardedValue = map['from']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
to: (() { final guardedValue = map['to']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
);
}