showInterest method

void showInterest(
  1. String barcode
)

Shows an interest for a barcode.

Typically, to be used by a widget in initState.

Implementation

void showInterest(String barcode) => _interest.add(barcode);