get method

Future<Object> get(
  1. String fileId, {
  2. DownloadOptions downloadOptions = lazy.defaultGDriveDownloadOptions,
})

DriveApi.files.get wrapper

Implementation

Future<Object> get(
  String fileId, {
  gd.DownloadOptions downloadOptions = lazy.defaultGDriveDownloadOptions,
}) async {
  String debugPrefix = '$runtimeType.get()';
  try {
    return _driveApi.files.get(
      fileId,
      downloadOptions: downloadOptions,
    );
  } catch (e) {
    throw ('$debugPrefix:$e');
  }
}