opreationFlashLight method

Future<void> opreationFlashLight(
  1. bool status
)
override

Implementation

Future<void> opreationFlashLight(bool status) async {
  try {
    await methodChannel
        .invokeMethod('opreationFlashLight', {"status": status});
  } on PlatformException catch (e) {
    print("opreationFlashLight '${e.message}'.");
  }
}