get method

Future<R> get(
  1. String url
)

get response by url

Implementation

Future<R> get(String url) async {
  if (!exist(url)) {
    return R.error(code: RCode.notFound, msg: '$url not found!');
  }
  return _allBridges[url]!.call();
}