PaymentMethodDetailsCashapp.fromJson constructor
PaymentMethodDetailsCashapp.fromJson(
- Object? json
Implementation
factory PaymentMethodDetailsCashapp.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentMethodDetailsCashapp(
buyerId: map['buyer_id'] == null ? null : (map['buyer_id'] as String),
cashtag: map['cashtag'] == null ? null : (map['cashtag'] as String),
);
}