fromJson method

Implementation

@override
UCreateSessionStatus fromJson(String json) {
  final knownValue = KnownCreateSessionStatus.valueOf(json);

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