takePicture method

  1. @override
Future<bool> takePicture({
  1. String? resolution,
  2. String? imageFormat,
  3. int? delay,
})
override

Implementation

@override
Future<bool> takePicture({
  String? resolution,
  String? imageFormat,
  int? delay,
}) async {
  final bool result =
      await methodChannel.invokeMethod('takePicture', <String, dynamic>{
    'resolution': resolution,
    'imageFormat': imageFormat,
    'delay': delay,
  });
  return result;
}