checkUsername method
Check Username.
ID: 2714d86c
.
Implementation
Future<Result<Boolean>> checkUsername({
required String username,
}) async {
// Preparing the request.
final request = AccountCheckUsername(
username: username,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<Boolean>();
}