Memory<OT extends ProgramOperation> class Null safety

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

Implementers

Constructors

Memory({required int memoryNybbles})

Properties

hashCode int
The hash code for this object.
read-onlyinherited
model Model<OT>
read-only
policy MemoryPolicy
read-only
program ProgramMemory<OT>
latefinal
programNybbles int
Amount of memory taken up by program
read-only
registers Registers
latefinal
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
storage ByteData
final
totalNybbles int
Total number of nybbles of storage
read-only

Methods

decodeJson(Map<String, dynamic> json) → void
initializeSystem(OperationMap<OT> layout, OT lbl, OT rtn) → 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() Map<String, Object>
toString() String
A string representation of this object.
inherited

Operators

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