optgroup function

Node optgroup({
  1. bool? disabled,
  2. String? label,
  3. String? id,
  4. dynamic className,
  5. dynamic style,
  6. Map<String, dynamic> p = const {},
  7. Iterable<Node> c = const [],
})

Implementation

Node optgroup({
  bool? disabled,
  String? label,
  String? id,
  className,
  style,
  Map<String, dynamic> p = const {},
  Iterable<Node> c = const [],
}) =>
    h(
        'optgroup',
        _apply([
          p
        ], {
          'disabled': disabled,
          'label': label,
          'id': id,
          'class': className,
          'style': style
        }),
        [...c]);