removeFromBatch method

Future<bool> removeFromBatch(
  1. int id
)

Implementation

Future<bool> removeFromBatch(int id) async {
  try {
    batch.remove(id);
    return true;
  } catch (e) {
    print(e);
    return false;
  }
}