We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I get Null pointer exception on Sheba.dart line 53, because bank.process is null
Sheba.dart
final data = bank.process!(shebaCode);
for a sheba number of City Bank
BankInformation? call() { final shebaCode = _shebaCode; if (!isValid) return null; final bankCode = patternCode.firstMatch(shebaCode)?[1] ?? ''; var bank = banksInfo[bankCode]; if (bank == null) return null; if (bank.isAccountNumberAvailable) { final data = bank.process!(shebaCode); bank.accountNumber = data.accountNumber; bank.formattedAccountNumber = data.formattedAccountNumber; } bank.process = null; return bank; }
persian_tools: ^1.0.3
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I get Null pointer exception on
Sheba.dart
line 53, because bank.process is nullfinal data = bank.process!(shebaCode);
for a sheba number of City Bank
persian_tools: ^1.0.3
The text was updated successfully, but these errors were encountered: