isAmex static method

bool isAmex(
  1. CardBrand brand
)

Implementation

static bool isAmex(CardBrand brand) => brand == CardBrand.amex;