result property

Uri get result

Result.

Implementation

Uri get result {
  if (data == null) throw FormatException();
  if (file != null) return file!.uri;
  if (directory != null) return directory!.uri;
  if (uri != null) return uri!;
  return Uri.parse(data!);
}