createGroup<MobjectType extends Mobject> method
Implementation
@override
Mobject createGroup<MobjectType extends Mobject>(List<MobjectType> mobs) {
if (mobs.every((element) => element is VMobject)) {
return VGroup(mobs.cast<VMobject>());
} else {
return super.createGroup(mobs);
}
}