deleteID method

Future<void> deleteID(
  1. String id
)

Implementation

Future<void> deleteID(String id) async {
  for (int i = 0; i < _storedFinalizedMatches.length; i++) {
    if (_storedFinalizedMatches.getAt(i)!.id == id) {
      await _storedFinalizedMatches.deleteAt(i).then((_) =>
          Debug().warn("[DUC_BOX] Deleted the entry with ID: $id"));
      return;
    }
  }
}