getBanks library

Functions

capitalize(String text) → dynamic
capitalize formats text and returns its capitalized form
getBanks() → dynamic
getBanks return list of BankModel object
initialBanks({List<BankModel> banks, String slug}) → dynamic
initialBanks return initial bank if selected else it returns the first bank in the List of BankModel
isValidBank({String slug, String bankName, List<BankModel> banks}) → dynamic
isValidBank checks if selected bank exist in the list of banks