parse static method
Implementation
static ForegroundDownloadState parse(String? value) {
return ForegroundDownloadState.values.firstWhere(
(state) => state.name == value,
orElse: () => ForegroundDownloadState.none,
);
}
static ForegroundDownloadState parse(String? value) {
return ForegroundDownloadState.values.firstWhere(
(state) => state.name == value,
orElse: () => ForegroundDownloadState.none,
);
}