fromWire
Maps the wire value to a variant, returning null for anything unrecognized.
The asset carries a String? rather than this enum because the shared Json sets coerceInputValues = true, which would silently coerce a typo'd enum value to a default. An unrecognized string lands on null instead, and null refuses.