pause method
暂停扫码 resume scanning code from camera
Implementation
@override
void pause() {
assert(_methodChannel != null,
"_methodChannel can not be null. Please call onPlatformViewCreated first");
_methodChannel?.invokeMethod('pause');
}