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
-
- Object
- ModelFieldValue<
Uri> - ModelUri
- Implemented types
- Annotations
Constructors
- ModelUri([Uri? value])
-
Define the field as a URI.
constfactory
- 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.
constfactory
- ModelUri.parse([String? value])
-
Define the field as a URI.
constfactory
Properties
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.