MemoryPolicy class Null safety
Controls the policy around memory allocation
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- maxProgramBytes → int
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
checkExtendProgramMemory(
) → void - Throws CalculatorError(4) if there's no room to add seven bytes of program memory.
-
checkRegisterAccess(
int i) → void - Throws a CalculatorError(3) if the given register does not exist.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
showMemory(
) → String - Give the string displayed by the MEM key
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited