isFrontCamera method

Future<bool> isFrontCamera()

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"));
}