fromJson method

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

Implementation

@override
UGetSessionStatus fromJson(String json) {
  final knownValue = KnownGetSessionStatus.valueOf(json);

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