toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'enabled': enabled,
'offPeakWindows': pulumi.Input.mapInputValue<List<GetDomainOffPeakWindowOptionsOffPeakWindow>, List<Map<String, dynamic>>>(offPeakWindows, (value) => pulumi.Input.encodeList<GetDomainOffPeakWindowOptionsOffPeakWindow, Map<String, dynamic>>(value, (value) => value.toMap())),
};
}