fn send_response(&self, response_handle: PlatformMessageResponseHandle, buf: &[u8]) {
        if let Some(engine) = self.engine() {
            engine.send_platform_message_response(response_handle, buf);
        } else {
            log::error!("Channel {} was not initialized", self.name());
        }
    }
/// When flutter call a method using MethodChannel,
/// it can wait for rust response using await syntax.
/// This method send a response to flutter. This is a low level method.
When flutter call a method using MethodChannel,
it can wait for rust response using await syntax.
This method send a response to flutter. This is a low level method.
When flutter call a method using MethodChannel it can wait for rust response using await syntax . This method send a response to flutter . This is a low level method .
fn send_response(&self, response_handle: PlatformMessageResponseHandle, buf: &[u8]) {
        if let Some(engine) = self.engine() {
            engine.send_platform_message_response(response_handle, buf);
        } else {
            log::error!("Channel {} was not initialized", self.name());
        }
    }
fn send_response ( & self , response_handle : PlatformMessageResponseHandle , buf : & [ u8 ] ) { if let Some ( engine ) = self . engine ( ) { engine . send_platform_message_response ( response_handle , buf ) ; } else { log :: error ! ( " " self name ( ) ) ; } }
When flutter call a method using MethodChannel,
it can wait for rust response using await syntax.
When flutter call a method using MethodChannel it can wait for rust response using await syntax .
&self
response_handle
PlatformMessageResponseHandle
buf
&[u8]