operator [] method

QuadNode<T>? operator [](
  1. int index
)

Implementation

QuadNode<T>? operator [](int index) {
  if (index < 0 || index >= 4) {
    throw FlutterError('违法参数:只能传入0-3');
  }
  return _childMap[index];
}