onCreate method
Implementation
onCreate(int id) {
handler = (call) => _dealMethodCall(call);
_channel = MethodChannel("flutter_customized_scan_$id");
_channel.setMethodCallHandler(handler);
}
onCreate(int id) {
handler = (call) => _dealMethodCall(call);
_channel = MethodChannel("flutter_customized_scan_$id");
_channel.setMethodCallHandler(handler);
}