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(!name.startsWith('WINDOW-ID-') && !name.contains(_contentWorldNameRegExp));
}