call method

ReactNode call(
  1. P props, {
  2. ReactChildren children = const [],
  3. String? key,
})

Creates a component node with typed props and children.

Implementation

ReactNode call(P props, {ReactChildren children = const [], String? key}) =>
    Component(id, props, children: normalizeChildren(children), key: key);