root static method

TomlTableNode root(
  1. Map<String, dynamic> data
)

Builds the root node for a parsed TOML document.

The root itself is never rendered; its children are the top-level entries at depth 0.

Implementation

static TomlTableNode root(Map<String, dynamic> data) => TomlTableNode(
      key: '',
      path: '',
      depth: -1,
      isArrayElement: false,
      table: data,
    );