of static method

The nearest TomlViewerConfig.

Falls back to TomlViewerConfig.of, so this never throws.

Implementation

static TomlViewerConfig of(BuildContext context) =>
    maybeOf(context) ?? TomlViewerConfig.of(context);