delete method Null safety
Deletes the account Be careful to not use an account after it is been deleted
Implementation
Future<bool> delete() async {
bool r = await Requests.delete('/accounts/$id', auths[id]!.headers);
if (r) {
auths.remove(id);
}
return r;
}