ModelUri class

Define the field as a URI.

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

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

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

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

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

Inheritance
Implemented types
Available Extensions
Annotations

Constructors

ModelUri([Uri? value])
Define the field as a URI.
const
factory
ModelUri.fromJson(DynamicMap json)
Convert from json map to ModelUri.
factory
ModelUri.fromServer([Uri? value])
Used to disguise the retrieval of data from the server.
const
factory
ModelUri.parse([String? value])
Define the field as a 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(ModelUri other) int
Compares this object to another object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
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

Constants

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