reputation method

Future<NetworkReputation> reputation()

Implementation

Future<NetworkReputation> reputation() async {
  try {
    dynamic result = await client.get(api('network/reputation'));
    return NetworkReputation.fromJson(result);
  } on ExplorerException catch (e) {
    throw ExplorerException(
        code: e.code, message: '{"network": "${e.message}"}');
  }
}