bool materialAndBatchOk({required String material, required String? batch}) => material == toMaterial?.material && batchNumber == batch;