request static method
Implementation
static Future<Map?> request(String uri,String method,Map options,Map data) async {
Map? _result;
try {
final Map? result =
await _channel.invokeMethod('request',{
"uri":uri,
"method":method,
"options":options,
"data": data
});
_result = result;
} on PlatformException catch (e) {
_result = {'error': e.message};
}
return _result;
}