fromWire

Parses a wire value such as "android" into its corresponding FeedbackPlatform enum entry.

Return

The matched FeedbackPlatform, or null if the wire value is unrecognized.

Example:

val platform = FeedbackPlatform.fromWire("android") // FeedbackPlatform.ANDROID
val unknown = FeedbackPlatform.fromWire("windows") // null

Parameters

value

The raw string representation from the API or configuration.