level property

int get level

Implementation

int get level => switch (status) {
  MatchedProductStatusV2.VERY_GOOD_MATCH => 5,
  MatchedProductStatusV2.GOOD_MATCH => 4,
  MatchedProductStatusV2.POOR_MATCH => 3,
  MatchedProductStatusV2.MAY_NOT_MATCH => 2,
  MatchedProductStatusV2.DOES_NOT_MATCH => 1,
  MatchedProductStatusV2.UNKNOWN_MATCH => 0,
};