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