LicenseDocument class

Document that contains references to the various keys, links to related external resources, rights and restrictions that are applied to the Protected Publication, and user information.

Constructors

LicenseDocument.parse(ByteData data)
factory

Properties

data ByteData
final
description String
no setter
encryption Encryption
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
issued DateTime
Date when the license was first issued.
final
jsonObject Map
final
provider Uri
Unique identifier for the Provider (URI).
final
rawJson String
final
rights Rights
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature Signature
Used to validate the license integrity.
final
updated DateTime
Date when the license was last updated.
final
user User
The user owning the License.
final

Methods

getHint() String
Returns the first link containing the given rel.
Returns all links containing the given rel.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
url(LicenseRel rel, {MediaType? preferredType, Map<String, String> parameters = const {}}) Uri

Operators

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

Static Methods