pickFromCamera static method

Future<File?> pickFromCamera()

Pick an image from camera

Implementation

static Future<File?> pickFromCamera() async {
  final result = await _channel.invokeMethod<String>('pickFromCamera');
  return result != null ? File(result) : null;
}