methodDescriptor top-level property
Implementation
final methodDescriptor =
XRPCMethodDescriptor<EmptyData, EmptyData, ServerRefreshSessionOutput>(
nsid: NSID.parse('com.atproto.server.refreshSession'),
kind: XRPCMethodKind.procedure,
outputFromJson: (json) => const ServerRefreshSessionOutputConverter()
.fromJson(json.cast<String, dynamic>()),
outputToJson: const ServerRefreshSessionOutputConverter().toJson,
errors: const ['AccountTakedown', 'InvalidToken', 'ExpiredToken'],
);