getAccountResource method

Future getAccountResource(
  1. String address,
  2. String resourceType
)

Implementation

Future<dynamic> getAccountResource(String address, String resourceType) async {
  final path = "$endpoint/accounts/$address/resource/$resourceType";
  final resp = await http.get(path);
  return resp.data;
}