LicenseRecord class Null safety

License Records describe the terms around which a data asset may be used and MUST contain a reference to the corresponding Title Record. Learn more about License Records.

Constructors

LicenseRecord(String? id, TitleRecord title, List<LicenseUse> uses, String terms, {String? description, DateTime? expiry})

Properties

description ↔ String?
A human-readable description of the license
read / write
expiry ↔ DateTime?
The date when the license expires
read / write
hashCode → int
The hash code for this object.
read-only, inherited
id ↔ String?
This record's id
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
terms ↔ String
The legal terms for the license
read / write
title TitleRecord
The TitleRecord for this license
read / write
uses ↔ List<LicenseUse>
A list describing how an asset can be used
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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