ConnectEmbeddedPayoutsFeatures.fromJson constructor

ConnectEmbeddedPayoutsFeatures.fromJson(
  1. Object? json
)

Implementation

factory ConnectEmbeddedPayoutsFeatures.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return ConnectEmbeddedPayoutsFeatures(
    editPayoutSchedule: (map['edit_payout_schedule'] as bool),
    instantPayouts: (map['instant_payouts'] as bool),
    standardPayouts: (map['standard_payouts'] as bool),
  );
}