startPreview method

Future<bool> startPreview()

Implementation

Future<bool> startPreview() async {
  try {
    final bool result = await _channel.invokeMethod('startPreview');
    print("startPreview: $result");
    return result;
  } on PlatformException catch (e) {
    print("Error startPreview: $e.message");
  }
  return false;
}