ArrayPredictionContext constructor

ArrayPredictionContext(
  1. List<PredictionContext?> parents,
  2. List<int> returnStates
)

Implementation

ArrayPredictionContext(
  // Todo: this generic should be null this wont change
  this.parents,
  this.returnStates,
)   : assert(parents.isNotEmpty),
      assert(returnStates.isNotEmpty),
      super(PredictionContext.calculateHashCode(parents, returnStates));