ContentWorld.world constructor
ContentWorld.world({
- required String name,
Returns the custom content world with the specified name.
Implementation
ContentWorld.world({required this.name}) {
// WINDOW-ID- is used internally by the plugin!
assert(!this.name.startsWith("WINDOW-ID-") &&
!this.name.contains(_contentWorldNameRegExp));
}