mentError(&#39;&quot;indices&quot; values must be valid indices in the positions list.&#39;);

  final Float32List encodedPositions = _encodePointList(positions);
  final Float32List encodedTextureCoordinates = (textureCoordinates != null)
    ? _encodePointList(textureCoordinates)
    : null;
  final Int32List encodedColors = colors != null
    ? _encodeColorList(colors)
    : null;
  final Int32List encodedIndices = indices != null
    ? new Int32List.fromList(indices)
    : null;

  _constructor();
  _in