toJson method

  1. @override
String toJson(
  1. UThreadViewPrefSort object
)

Implementation

@override
String toJson(UThreadViewPrefSort object) => object.when(
      knownValue: (data) => data.value,
      unknownValue: (data) => data,
    );