toJson method

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

Implementation

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