ConnectEmbeddedPaymentsConfig.fromJson constructor
ConnectEmbeddedPaymentsConfig.fromJson(
- Object? json
Implementation
factory ConnectEmbeddedPaymentsConfig.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return ConnectEmbeddedPaymentsConfig(
enabled: (map['enabled'] as bool),
features: ConnectEmbeddedPaymentsFeatures.fromJson(map['features']),
);
}