From ae97077b17183617c0b3b010766c7c61d7beee89 Mon Sep 17 00:00:00 2001 From: Ehsan Aramide Date: Wed, 24 Mar 2021 17:22:03 +0430 Subject: [PATCH] docs(readme):added sheba documents --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f9b47ce..6507371 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ - [ ] Validating Iranians national id - [ ] Finding city and province names by national id - [x] [Calculating bills](#calculating-bill---source) -- [ ] Checking IBAN of the bank account (_SHEBA_) +- [x] [Checking IBAN of the bank account (_SHEBA_)](#checking-iban-of-the-bank-account-sheba---source) - [x] [Validating ATM card number](#validating-atm-card-number---source) - [ ] Finding name of banks by ATM card number - [ ] Getting information from vehicle plate @@ -74,6 +74,14 @@ bill.isBillIdValid // true bill(); ``` +- #### Checking IBAN of the bank account (_SHEBA_) - [source](https://github.com/persian-tools/dart-persian-tools/blob/master/lib/src/Sheba/methods.dart) + +```dart +var sheba = Sheba('IR820540102680020817909002'); +sheba(); // Returns all the information about bank from sheba +sheba.isValid; // true +``` + - #### Validating ATM card number - [source](https://github.com/persian-tools/dart-persian-tools/blob/master/lib/src/validate_card_number.dart) ```dart