UnitDependent.fromMap constructor
Implementation
factory UnitDependent.fromMap(Map<String, dynamic> map) {
return UnitDependent(
alias: (() { final guardedValue = map['alias']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
unit: (() { final guardedValue = map['unit']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}