copyTemplate method

Panel copyTemplate([
  1. bool? freeze
])

Make a deep copy of this Panel and allow it to be used as a template. This makes copies of Bindings, unlike the regular copy() method. Pass true as the argument in order to freeze the Bindings, allowing it to operate efficiently as a template. A false value (which is the default) allows further additions/modifications of the bindings in the copied Panel. @since 2.2 @param {boolean=} freeze whether to freeze the Bindings in the copy; default is false @return {Panel}

Implementation

_i3.Panel copyTemplate([_i2.bool? freeze]) => _i4.callMethod(
      this,
      'copyTemplate',
      [freeze ?? _i5.undefined],
    );