read method

Future<String> read(
  1. dynamic url, [
  2. AjanuwHttpConfig? config
])

Implementation

Future<String> read(url, [AjanuwHttpConfig? config]) async {
  final response = await get(
      url, createConfig(config)..responseType = ResponseType.Response);
  return response.body;
}