UriContent class

Represents content referenced by a URI.

Inheritance

Constructors

UriContent(Uri uri, {required String mediaType})
Creates a UriContent with the given uri and mediaType.

Properties

additionalProperties AdditionalPropertiesDictionary?
Additional properties.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
mediaType String
The MIME type of the referenced content.
final
rawRepresentation Object?
The underlying implementation-specific representation of this content.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri Uri
The URI pointing to the content.
final

Methods

hasTopLevelMediaType(String topLevelType) bool
Returns true if the mediaType has the given top-level type.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited