stopCamera static method

Future<int?> stopCamera()

Implementation

static Future<int?> stopCamera() async {
  try {
    final result = await channel.invokeMethod<int>('stopCamera');
    return result;
  } on PlatformException catch (e) {
    if (kDebugMode) {
      print('Camera error: ${e.code} - ${e.message}');
    }
    rethrow;
  }
}