Memory<OT extends ProgramOperation> class Null safety

The calculator's 406 nybble internal memory that holds registers and programs.

Constructors

Memory(Model<ProgramOperation> _model)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
program ProgramMemory<OT>
final, read / write, late
registers Registers
final, late
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

decodeJson(Map<String, dynamic> json) → void
initializeSystem(OperationMap<OT> layout) → void
Called by our controller, which necessarily happens after the Model exists.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
reset() → void
toJson({bool comments = false}) Map<String, Object>
toString() String
A string representation of this object. [...]
inherited

Operators

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