to method

Window to()

Implementation

Window to() {
  // will lose window instance
  return Window(id: this.id ?? "default", config: this);
}