toMap method
Implementation
@override
Map<String, dynamic> toMap() {
if (stripePaymentSource is Source) {
return (stripePaymentSource as Source).toMap();
} else if (stripePaymentSource is StripeCard) {
return (stripePaymentSource as StripeCard).toMap();
}
return new Map();
}