WorldProperties constructor

WorldProperties({
  1. String? worldId,
  2. String? csp,
  3. bool? messaging,
})

Implementation

WorldProperties({
  /// Specifies the ID of the specific user script world to update.
  /// If not provided, updates the properties of the default user script
  /// world.
  /// Values with leading underscores (`_`) are reserved.
  String? worldId,

  /// Specifies the world csp. The default is the ``ISOLATED``
  /// world csp.
  String? csp,

  /// Specifies whether messaging APIs are exposed. The default is
  /// `false`.
  bool? messaging,
}) : _wrapped = $js.WorldProperties(
        worldId: worldId,
        csp: csp,
        messaging: messaging,
      );