removeChild method
Implementation
@override
void removeChild(Bitmap child) {
if (child.parent != this) {
throw ArgumentError('The supplied Bitmap must be a child of the caller.');
} else {
final index = _children.indexOf(child);
child._parent = null;
_children.removeAt(index);
}
}