fromMap static method
Implementation
static RotationSettings fromMap(Map? map) {
if (map == null) return RotationSettings();
return RotationSettings(
mode: rotationModeFromName(map['mode']),
roundRobinIndex: map['roundRobinIndex'] ?? 0,
);
}