captureImage method

  1. @override
Future<String?> captureImage({
  1. bool isfront = false,
  2. String? path,
})
override

Implementation

@override
Future<String?> captureImage({bool isfront = false,String? path}) async {
  // TODO: implement captureImage
  final version = await methodChannel.invokeMethod<String>('onCameraClick',{
    'cameraPosition': isfront?'front':"back",'path': path,});
    return version;
}