OkfSource class final

A material from which an OKF concept was derived.

Properties

author → String?
The source's actor identity.
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → String?
Stable attribution key used by body footnotes.
no setter
lastModified → DateTime?
When the source itself last changed, when parseable.
no setter
raw → Map<String, Object?>
The full source mapping, including producer extensions.
final
rawLastModified → String?
The original scalar form of last_modified.
no setter
resource → String?
The source URI, bundle path, or scope descriptor.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String?
Human-readable source label.
no setter
usageCount → num?
Coarse exercise count for this source.
no setter
usageWindow → OkfUsageWindow?
A source-specific usage window, overriding the shared window.
no setter

Methods

effectiveUsageWindow(OkfUsageWindow? shared) → OkfUsageWindow?
Returns the source-specific window, or shared when none is present.
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

Static Methods

tryParse(Object? value) → OkfSource?
Attempts to read a source entry from a YAML value.