Determine whether device has flash
@override Future<bool> hasTorch() async { return (await getSupportedTorchStates()).isNotEmpty; }