fromName static method
Implementation
static DyteRecordingState fromName(String state) {
switch (state) {
case "starting":
return DyteRecordingState.starting;
case "recording":
return DyteRecordingState.recording;
case "stopping":
return DyteRecordingState.stopping;
case "idle":
return DyteRecordingState.idle;
default:
return DyteRecordingState.idle;
}
}