MediaProviderSettings class Null safety

Constructors

MediaProviderSettings(String? source, String? type, {int duration = DURATION_DEFAULT})

Properties

duration ↔ int
Duration.
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
source ↔ String?
Source.
read / write
type ↔ String?
Type.
read / write

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

DURATION_DEFAULT → const int
DURATION_SHORT
DURATION_INFINITE → const int
0
DURATION_LONG → const int
60
DURATION_MEDIUM → const int
30
DURATION_SHORT → const int
15
SOURCE_CAMERA → const String
"SOURCE_CAMERA"
"SOURCE_GALLERY"
TYPE_PHOTO → const String
"TYPE_PHOTO"
TYPE_VIDEO → const String
"TYPE_VIDEO"