createAppPassword method

Future<XRPCResponse<AppPassword>> createAppPassword({
  1. required String name,
  2. bool? privileged,
})

Implementation

Future<core.XRPCResponse<AppPassword>> createAppPassword({
  required String name,
  bool? privileged,
}) async =>
    await _ctx.post(
      ns.comAtprotoServerCreateAppPassword,
      body: {
        'name': name,
        'privileged': privileged,
      },
      to: AppPassword.fromJson,
    );