style function

DomNode style(
  1. {String media,
  2. bool scoped,
  3. String type,
  4. String id,
  5. Map<String, dynamic> p = const {},
  6. @deprecated Map<String, dynamic> props = const {},
  7. Iterable<DomNode> c = const [],
  8. @deprecated Iterable<DomNode> children = const []}
)

Implementation

DomNode style(
        {String media,
        bool scoped,
        String type,
        String id,
        Map<String, dynamic> p: const {},
        @deprecated Map<String, dynamic> props: const {},
        Iterable<DomNode> c: const [],
        @deprecated Iterable<DomNode> children: const []}) =>
    h(
        'style',
        _apply([p, props],
            {'media': media, 'scoped': scoped, 'type': type, 'id': id}),
        []..addAll(c ?? [])..addAll(children ?? []));