fromWire static method
The style for a wire value, or null for an unknown one.
Implementation
static GameHapticStyle? fromWire(String value) {
for (final style in values) {
if (style.name == value) return style;
}
return null;
}
The style for a wire value, or null for an unknown one.
static GameHapticStyle? fromWire(String value) {
for (final style in values) {
if (style.name == value) return style;
}
return null;
}