OperationMap<OT extends ProgramOperation> class Null safety

A representation of all of the operations. This is used by the model to assign op codes and labels to ProgramOperations.

Constructors

OperationMap({required int registerBase, required List<List<MKey<OT>?>> keys, required List<OT> numbers, required List<OT> special, required Map<OT, ArgDone> shortcuts})
factory

Properties

hashCode int
The hash code for this object.
read-onlyinherited
keys List<List<MKey<OT>?>>
final
numbers List<OT>
final
registerBase int
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
shortcuts Map<OT, ArgDone>
Key entry shortcuts, like how on the 16C, I is RCL-I and (i) is RCL-(i)
final
special List<OT>
Operations that can't be stored in the calculator's memory
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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