CreatorFieldValues class

A collection of values that can be used to mutate the current context of the creator.

Constructors

CreatorFieldValues({Map<Field, String> textValues = const {}})
Initialise an immutable collection of the final parameters.

Properties

audioToExport → Map<Field, File>
List of audio to export to Anki.
read-only
hashCode → int
The hash code for this object.
read-onlyinherited
imagesToExport → Map<Field, File>
List of images to export to Anki.
read-only
isExportable → bool
Whether or not to allow the export button to be pressed.
read-only
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
textValues → Map<Field, String>
A map of text values to override for certain supplied key fields.
final

Methods

copyWith({Map<Field, String>? textValues}) → CreatorFieldValues
Creates a deep copy of this context but with the given fields replaced with the new values.
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