toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "id": id,
      "bin": bin,
      "masked_card": maskedCard,
      "expiry_month": expiryMonth,
      "expiry_year": expiryYear,
      "nickname": nickname,
      "brand": brand,
      "card_type": cardType,
      "customer": customer?.toJson(),
    };