fromName static method
Implementation
static PlatformExact fromName(String name) {
return PlatformExact.values.firstWhereOrNull((e) {
return e.name.toLowerCase() == name.toLowerCase();
}) ??
PlatformExact.unknown;
}
static PlatformExact fromName(String name) {
return PlatformExact.values.firstWhereOrNull((e) {
return e.name.toLowerCase() == name.toLowerCase();
}) ??
PlatformExact.unknown;
}