fromJson method

  1. @override
UInteractionEvent fromJson(
  1. String json
)

Implementation

@override
UInteractionEvent fromJson(String json) {
  final knownValue = KnownInteractionEvent.valueOf(json);

  return knownValue != null
      ? UInteractionEvent.knownValue(data: knownValue)
      : UInteractionEvent.unknownValue(data: json);
}