FetchPoolFileNamingStrategy enum Null safety

Enum describing the different file naming strategies.

Inheritance

Constructors

FetchPoolFileNamingStrategy()
const

Values

basename → const FetchPoolFileNamingStrategy

Given a URL of https://test.com/img.png?a=123&b=456, results in a local filename of "img.png".

const FetchPoolFileNamingStrategy(0)
basenameWithQueryParams → const FetchPoolFileNamingStrategy

Given a URL of https://test.com/img.png?a=123&b=456, results in a local filename of "img_a_123_b_456.png".

const FetchPoolFileNamingStrategy(1)
base64EncodedUrl → const FetchPoolFileNamingStrategy

Given a URL of https://test.com/img.png?a=123&b=456, results in a local filename of "aHR0cHM6Ly90ZXN0LmNvbS9pbWcucG5nP2E9MTIzJmI9NDU2".

const FetchPoolFileNamingStrategy(2)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

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

Operators

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

Constants

values → const List<FetchPoolFileNamingStrategy>
A constant List of the values in this enum, in order of their declaration.
[basename, basenameWithQueryParams, base64EncodedUrl]