OptionGroup constructor

OptionGroup({
  1. required String title,
  2. required List<String> members,
})

Implementation

OptionGroup({
  /// Printable title, e.g. "Geometry options".
  required String title,

  /// Names of contained options, in backend-provided order.
  required List<String> members,
}) : _wrapped = $js.OptionGroup(
        title: title,
        members: members.toJSArray((e) => e),
      );