ConnectEmbeddedPayoutsConfig.fromJson constructor

ConnectEmbeddedPayoutsConfig.fromJson(
  1. Object? json
)

Implementation

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