toJson method

  1. @override
Map<String, dynamic> toJson([
  1. dynamic extra
])
override

Implementation

@override
Map<String, dynamic> toJson([dynamic extra]) {
  return {
    "@type": CONSTRUCTOR,
    "publishable_key": publishableKey,
    "need_country": needCountry,
    "need_postal_code": needPostalCode,
    "need_cardholder_name": needCardholderName,
  };
}