class GooglePayParameters { final List paymentSystems; const GooglePayParameters([this.paymentSystems = const [GooglePayCardNetwork.mastercard, GooglePayCardNetwork.visa]]); List jsonList() { return paymentSystems.map((e) => e.toString()).toList(); } } enum GooglePayCardNetwork { amex, discover, jcb, mastercard, visa, interac, other }