accounts method
Returns an array of accounts present in the Wallet for the given Network.
Implementation
@override
Future<List<dynamic>> accounts({required String ledger}) async {
Completer<List<dynamic>> c = Completer();
promiseToFuture(
algosigner.accounts(algosigner.AccountsOptions(ledger: ledger)),
)
.then((value) => c.complete(List<dynamic>.from(convertList(value))))
.onError((error, stackTrace) => c.completeError(_handleError(error)));
return c.future;
}