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