account property
BankAccount?
get
account
Implementation
BankAccount? get account => _account;
set
account
(BankAccount? value)
Implementation
set account(BankAccount? value) {
if (value == null) {
// Precaution to avoid setting of this field outside the library
throw new PaystackException('account cannot be null');
}
_account = value;
}