isTorched property

  1. @override
Future<bool> get isTorched
override

isTorched

you can know that current device's torch state if device's flashOn so isTorched return 'true' if device's flashOff so isTorched return 'false'

Implementation

@override
Future<bool> get isTorched => TorchxPlatform.instance.isTorched;