checkEmail method

Future<bool> checkEmail(
  1. String email
)

Whether an e-mail is still free. The cloud contract has no availability endpoint (sign-up answers 409 for a taken e-mail): throws UnsupportedCapabilityException (SYNC TODO CT/CL: GET /auth/availability).

Implementation

Future<bool> checkEmail(
  String email,
) => throw const UnsupportedCapabilityException(
  'the cloud API has no e-mail availability check; sign-up answers 409 conflict for a taken e-mail',
);