bugDelete method

Future<void> bugDelete(
  1. dynamic userId
)

Deletes a bug document from Firestore by its userId.

Implementation

Future<void> bugDelete(dynamic userId) async {
  await bugcollection.doc(userId).delete();
}