fromJson static method
Decodes a value at path, rejecting unknown values.
Implementation
static PatchbayUiTargetKindWire fromJson(
Object? value, {
String path = r'$',
}) {
final wire = _wireString(value, path);
for (final candidate in values) {
if (candidate.name == wire) return candidate;
}
throw FormatException('$path has unknown PatchbayUiTargetKindWire: $wire');
}