methodDescriptor top-level property

XRPCMethodDescriptor<SetGetValuesInput, EmptyData, SetGetValuesOutput> methodDescriptor
final

Implementation

final methodDescriptor =
    XRPCMethodDescriptor<SetGetValuesInput, EmptyData, SetGetValuesOutput>(
      nsid: NSID.parse('tools.ozone.set.getValues'),
      kind: XRPCMethodKind.query,
      parametersFromJson: (json) => const SetGetValuesInputConverter().fromJson(
        json.cast<String, dynamic>(),
      ),
      parametersToJson: const SetGetValuesInputConverter().toJson,
      outputFromJson: (json) => const SetGetValuesOutputConverter().fromJson(
        json.cast<String, dynamic>(),
      ),
      outputToJson: const SetGetValuesOutputConverter().toJson,
      errors: const ['SetNotFound'],
    );