has method

bool has(
  1. String? id
)

Implementation

bool has(String? id) => selections.any((s) => s.id == id);