get method

  1. @override
Future<String?> get(
  1. String url,
  2. Map<String, dynamic> headers,
  3. DohProvider dohProvider
)
override

Implementation

@override
Future<String?> get(
    String url, Map<String, dynamic> headers, DohProvider dohProvider) async {
  final result = await methodChannel.invokeMethod('makeGetRequest', {
    'url': url,
    'headers': headers,
    "dohProvider": dohProvider.toString()
  });

  return result;
}