get_remote_svg function

Future<String> get_remote_svg(
  1. String url
)

Implementation

Future<String> get_remote_svg(String url) async {
  var response = await get(Uri.parse(url));
  String body = utf8.decode(response.bodyBytes);
  return body;
}