isMatchAvailable function Null safety

bool isMatchAvailable(
  1. dynamic attribute
)

Implementation

bool isMatchAvailable(Attribute attribute) {
  return attribute.status == Attribute.STATUS_KNOWN && attribute.match != null;
}