valueToLabel abstract method Null safety

int valueToLabel(
  1. Value v,
  2. Model<ProgramOperation> m
)

Translate value to an int that could be a label, without any range checks to see if it's a valid label. Always returns a non-negative int.

Implementation

int valueToLabel(Value v, Model m);