addCircles method
Adds a set of Circle
objects to the cache.
Wraps each Circle
into its corresponding CircleController.
Implementation
void addCircles(Set<Circle> circlesToAdd) {
/// 核心是 _addCircle 这个方法
circlesToAdd.forEach(_addCircle);
}
Adds a set of Circle
objects to the cache.
Wraps each Circle
into its corresponding CircleController.
void addCircles(Set<Circle> circlesToAdd) {
/// 核心是 _addCircle 这个方法
circlesToAdd.forEach(_addCircle);
}