Skip to content

Commit

Permalink
improvement(readme):update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
EhsanAramide committed Mar 26, 2021
1 parent feb3d39 commit dd72392
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,17 @@ bill();

```dart
var sheba = Sheba('IR820540102680020817909002');
sheba(); // Returns all the information about bank from sheba
sheba.isValid; // true
var bank = sheba(); // Returns nullable object of BankInformation
bank?.nickname // nickname of bank
bank?.name // complete name of bank
bank?.persianName // complete persian name of bank
bank?.code // code of bank
// true means with sheba package can take account number, false means package can't
bank?.isAccountNumberAvailable
bank?.accountNumber // account number in simple numbers
bank?.formattedAccountNumber // account number with hyphen
bank?.process
sheba.isValid // true
```

- #### Validating ATM card number - [source](https://github.com/persian-tools/dart-persian-tools/blob/master/lib/src/core/validate_card_number/validate_card_number.dart)
Expand Down

0 comments on commit dd72392

Please sign in to comment.