ContactsRotationRecurrenceWeeklySetting.fromMap constructor

ContactsRotationRecurrenceWeeklySetting.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory ContactsRotationRecurrenceWeeklySetting.fromMap(Map<String, dynamic> map) {
  return ContactsRotationRecurrenceWeeklySetting(
    dayOfWeek: pulumi.Input.fromValue(map['dayOfWeek'] as String),
    handOffTime: (() { final guardedValue = map['handOffTime']; if (guardedValue == null) return null; return pulumi.Input.fromValue(ContactsRotationRecurrenceWeeklySettingHandOffTime.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
  );
}