indexOfId method

int indexOfId(
  1. String id
)

Implementation

int indexOfId(String id) => list.indexWhere((e) => e.identifier == id);