Credit class final

One piece of work the game did not make, and what is owed for it.

Constructors

Credit({required String file, required String work, required String? author, required String? source, required String? license, required String? licenseUrl, bool modified = false})
A traced asset: work in file by author, from source, under license; unmodified unless modified says so.
const
Credit.untraced({required String file, required String work})
An asset that came from somewhere nobody can name.
const

Properties

author → String?
Who made the work, as the source names them; null when untraced.
final
file → String
The file as it ships, relative to assets/.
final
hashCode → int
The hash code for this object.
no setterinherited
isTraced → bool
Whether the licence is known at all.
no setter
license → String?
The licence's short name, or null when nobody could trace one.
final
licenseUrl → String?
Where the licence's text is, shown under the credit's line; null when untraced.
final
line → String
One line, in English, for a log or a test; a screen shows Flutter3dGameLocalizations.creditLine, in the player's language.
no setter
modified → bool
Whether this repository changed the file, which CC BY also asks be said.
final
owesAttribution → bool
Whether the licence obliges the game to name the author.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → String?
Where the work was found, a web address; null when untraced.
final
work → String
The work's title as its author gave it: Stylized Coin.
final

Methods

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