GetPaymentMethodConfigurationsResponse.fromJson constructor
GetPaymentMethodConfigurationsResponse.fromJson(
- Object? json
Implementation
factory GetPaymentMethodConfigurationsResponse.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return GetPaymentMethodConfigurationsResponse(
data: (map['data'] as List<Object?>)
.map((el) => PaymentMethodConfiguration.fromJson(el))
.toList(),
hasMore: (map['has_more'] as bool),
url: (map['url'] as String),
);
}