delete method

Future<bool> delete()

Implementation

Future<bool> delete() async {
  try {
    await client.delete("/$index");
    return true;
  } catch (e) {
    return true;
  }
}