index function

Builder index(
  1. Builder value,
  2. Builder other
)

Returns the index operation on this with other.

this[other]

Implementation

Builder index(
  Builder value,
  Builder other,
) {
  return Row([
    value,
    const Static('['),
    other,
    const Static(']'),
  ]);
}