home method

Future<Home> home()

Implementation

Future<Home> home() async {
  try {
    return Home.fromJson(await client.get(api('home')));
  } on ExplorerException catch (e) {
    throw ExplorerException(
        code: e.code, message: '{"home": "${e.message}"}');
  }
}