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