DataSourceType enum Null safety

The way in which the video was originally loaded.

This has nothing to do with the video's file type. It's just the place from which the video is fetched from.

Constants

asset → const DataSourceType

The video was included in the app's asset files.

const DataSourceType(0)
contentUri → const DataSourceType

The video is available via contentUri. Android only.

const DataSourceType(3)
file → const DataSourceType

The video was loaded off of the local filesystem.

const DataSourceType(2)
network → const DataSourceType

The video was downloaded from the internet.

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

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

const List<DataSourceType>

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