getChromaById method

Id getChromaById(
  1. String id
)

Implementation

Id getChromaById(String id) => chromas.singleWhere((element) => !isNullOrEmpty(element.id) && element.id! == id);