initCamera method
Future<void>
initCamera({
- required FlashMode initFlash,
- required bool fill,
- required CameraType cameraType,
- required UsageMode mode,
override
Implementation
@override
Future<void> initCamera({
required FlashMode initFlash,
required bool fill,
required CameraType cameraType,
required UsageMode mode,
}) async {
return methodChannel.invokeMethod<void>('initCamera', {
"hasBarcodeReader": false,
"initFlashModeID": initFlash.id,
"modeID": mode.id,
"fill": fill,
"cameraTypeID": cameraType.id
});
}