weight method

Vector4 weight(
  1. int index
)

Implementation

Vector4 weight(int index) {
  return weights.elementAtOrNull(index) ?? Vector4.zero();
}