valueForKeyStartingWith method

dynamic valueForKeyStartingWith(
  1. GS1AICodes code
)

Implementation

dynamic valueForKeyStartingWith(GS1AICodes code) {
  return firstWhereOrNull((e) => e.aiCode.startsWith(code.code))?.data;
}