isFrontCamera method
Checks whether an application uses the front-facing (true) or back-facing camera (false).
Implementation
Future<bool> isFrontCamera() async {
return Future.value(
await _methodChannel.invokeMethod<bool>("isFrontCamera"));
}