toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "id": id == null ? null : id,
      "auth_code": authCode == null ? null : authCode,
      "primary_card": primaryCard == null ? null : primaryCard,
      "status": status == null ? null : status,
      "card_owner_name": cardOwnerName == null ? null : cardOwnerName,
      "card_owner_email": cardOwnerEmail == null ? null : cardOwnerEmail,
      "card_owner_phone": cardOwnerPhone == null ? null : cardOwnerPhone,
      "meta_data_json": metaDataJson == null ? null : metaDataJson!.toJson(),
      "created_at": createdAt == null ? null : createdAt!.toIso8601String(),
    };