setMethodChannel method
第一步 先设置 channel The first step is to set the channel
Implementation
void setMethodChannel(MethodChannel channel) {
_channel = channel;
_cameraEvent = FlCameraEvent();
_cameraEvent.setMethodChannel(_channel);
}
第一步 先设置 channel The first step is to set the channel
void setMethodChannel(MethodChannel channel) {
_channel = channel;
_cameraEvent = FlCameraEvent();
_cameraEvent.setMethodChannel(_channel);
}