getRoutes method

Future<List<Map>> getRoutes()

Implementation

Future<List<Map>> getRoutes() async {
  assert(_runner != null, 'bridge not init');
  final res = await _runner?.evalJavascript('bridge.getRoutes()');
  return List<Map>.from(res);
}