utils/nested library

Utilities for nested data structures using dot notation paths.

Example: "user.name" -> data'name'

Functions

deleteNestedValue(dynamic data, String path) bool
Delete value at nested path.
getNestedValue(dynamic data, String path) → dynamic
Get value from nested structure using dot notation.
hasNestedPath(dynamic data, String path) bool
Check if nested path exists.
setNestedValue(dynamic data, String path, dynamic value) bool
Set value in nested structure using dot notation.