takePicture method
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;
}