Skip to content

Commit

Permalink
improvement(sheba):refactor BankInformation
Browse files Browse the repository at this point in the history
change accountNumberAvailable to isAccountNumberAvailable
  • Loading branch information
EhsanAramide committed Mar 26, 2021
1 parent b1a239c commit feb3d39
Show file tree
Hide file tree
Showing 5 changed files with 90 additions and 88 deletions.
88 changes: 45 additions & 43 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions example/example_sheba_methods.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ void main() {
print(bank?.persianName); // complete persian name of bank
print(bank?.code); // code of bank
// true means with sheba package can take account number, false means package can't
print(bank?.accountNumberAvailable);
print(bank?.isAccountNumberAvailable);
print(bank?.accountNumber); // account number in simple numbers
print(bank?.formattedAccountNumber); // account number with hyphen
print(bank?.process); // always is null just uses in call method in Sheba
Expand All @@ -18,7 +18,7 @@ void main() {
name: 'Parsian Bank',
persianName: 'بانک پارسیان',
code: '054',
accountNumberAvailable: true,
isAccountNumberAvailable: true,
accountNumber: '020817909002',
formattedAccountNumber: '0020-0081790-002');
print(bank == b);
Expand Down
Loading

0 comments on commit feb3d39

Please sign in to comment.