setStatics method
set the static folders, eg. in a new isolate
Implementation
void setStatics(List<StaticFolder> statics) {
// copy first: `setStatics(statics)` passes the same list
List<StaticFolder> copy = List<StaticFolder>.of(statics);
_statics
..clear()
..addAll(copy);
}