updateEmail method

Future<XRPCResponse<EmptyData>> updateEmail({
  1. required String email,
  2. bool? emailAuthFactor,
  3. String? token,
})

Implementation

Future<core.XRPCResponse<core.EmptyData>> updateEmail({
  required String email,
  bool? emailAuthFactor,
  String? token,
}) async =>
    await _ctx.post(
      ns.comAtprotoServerUpdateEmail,
      body: {
        'email': email,
        'emailAuthFactor': emailAuthFactor,
        'token': token,
      },
    );