fromJson method

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

Implementation

@override
UGetInviteCodesSort fromJson(String json) {
  final knownValue = KnownGetInviteCodesSort.valueOf(json);

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