UriType enum Null safety

Defines if query method will be in EXTERNAL or INTERNAL storage.

Normally INTERNAL return null.

Constants

EXTERNAL → const UriType

EXTERNAL storage.

const UriType(0)
EXTERNAL_PRIMARY → const UriType

INTERNAL storage. Works only in Android >= Q/29.

Note: This type are't implemented in Android, only in Dart. Probably will return null.

const UriType(2)
INTERNAL → const UriType

INTERNAL storage.

const UriType(1)
values → const List<UriType>

A constant List of the values in this enum, in order of their declaration.

const List<UriType>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited