ModelVideoUri class

Define the field as a video URI.

The base value is given as value. An empty Uri is defined.

Use ModelVideoUri if you want to be sure to define it as a video URI.

フィールドを映像URIとして定義します。

ベースの値をvalueとして与えます。空のUriが定義されます。

必ず映像URIとしての定義を行いたい場合はModelVideoUriを利用してください。

Inheritance
Implemented types
Available extensions
Annotations

Constructors

ModelVideoUri([Uri? value])
Define the field as a video URI.
const
factory
ModelVideoUri.fromJson(DynamicMap json)
Convert from json map to ModelVideoUri.
factory
ModelVideoUri.fromServer([Uri? value])
Used to disguise the retrieval of data from the server.
const
factory
ModelVideoUri.parse([String? value])
Define the field as a video URI.
const
factory

Properties

hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → Uri
Actual value.
no setteroverride

Methods

compareTo(ModelVideoUri other) → int
Compares this object to another object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFormMediaValue() → FormMediaValue?

Available on ModelVideoUri, provided by the ModelVideoUriExtensions extension

Convert to FormMediaValue.
toJson() → DynamicMap
Methods for Json serialization.
override
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

tryParse([String? value]) → ModelVideoUri?
Define the field as a video URI.

Constants

kSourceKey → const String
Key to store the data source.
kUriKey → const String
Key to save time.
typeString → const String
Type key.