ResourceContents class sealed

Implemented types

Constructors

ResourceContents.fromJson(Map<String, Object?> json)
Reads the branch json names; an unrecognised one is kept as UnknownResourceContents.
factory

Properties

blob → String?
blob, on the kinds that carry it.
no setter
hashCode → int
The hash code for this object.
no setterinherited
mimeType → String?
mimeType, on the kinds that carry it.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text → String?
text, on the kinds that carry it.
no setter
uri → String
uri.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
The JSON form of this value.
override
toString() → String
A string representation of this object.
inherited

Operators

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