toJson method

Implementation

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