ContactsRotationRecurrenceShiftCoverage.fromMap constructor

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

Implementation

factory ContactsRotationRecurrenceShiftCoverage.fromMap(Map<String, dynamic> map) {
  return ContactsRotationRecurrenceShiftCoverage(
    coverageTimes: pulumi.Input.fromValue(pulumi.Input.decodeList<ContactsRotationRecurrenceShiftCoverageCoverageTime>(map['coverageTimes']!, (value) => ContactsRotationRecurrenceShiftCoverageCoverageTime.fromMap((value as Map).cast<String, dynamic>()))),
    mapBlockKey: pulumi.Input.fromValue(map['mapBlockKey'] as String),
  );
}