AccountPayoutSettings.fromJson constructor
AccountPayoutSettings.fromJson(
- Object? json
Implementation
factory AccountPayoutSettings.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return AccountPayoutSettings(
debitNegativeBalances: (map['debit_negative_balances'] as bool),
schedule: TransferSchedule.fromJson(map['schedule']),
statementDescriptor: map['statement_descriptor'] == null
? null
: (map['statement_descriptor'] as String),
);
}