getAccount method

  1. @override
Future<AccountData> getAccount(
  1. String address
)
override

Accounts ///

Implementation

@override
Future<AccountData> getAccount(String address) async {
  final path = "$endpoint/accounts/$address";
  final resp = await http.get(path);
  return AccountData.fromJson(resp.data);
}