object/get library

Functions

get(Map<String, dynamic> map, String path, [dynamic defaultValue]) → dynamic
Retrieves a value from a nested Map or List structure based on a given path. If the path does not exist, it returns the provided defaultValue.
parsePath(String path) List
Parses the path string into a list of keys and indices.