methodDescriptor top-level property
Implementation
final methodDescriptor =
XRPCMethodDescriptor<
TempFetchLabelsInput,
EmptyData,
TempFetchLabelsOutput
>(
nsid: NSID.parse('com.atproto.temp.fetchLabels'),
kind: XRPCMethodKind.query,
parametersFromJson: (json) => const TempFetchLabelsInputConverter()
.fromJson(json.cast<String, dynamic>()),
parametersToJson: const TempFetchLabelsInputConverter().toJson,
outputFromJson: (json) => const TempFetchLabelsOutputConverter().fromJson(
json.cast<String, dynamic>(),
),
outputToJson: const TempFetchLabelsOutputConverter().toJson,
errors: const [],
);