get method

  1. @override
Future<Map<String, dynamic>> get()
override

Implementation

@override
Future<Map<String, dynamic>> get() async {
  var result = await dio.get("$baseURI");
  return result.data is String ? json.decode(result.data) : result.data;
}