delete method

Future<bool> delete(
  1. String username,
  2. String password
)

Delete the user.

Implementation

Future<bool> delete(String username, String password) {
  final completer = Completer<bool>();
  _user.delete(username, password, allowInterop((data) {
    completer.complete(!hasProperty(data, 'err'));
  }));
  return completer.future;
}