deepGet function
Safely retrieves and converts a value from a nested data structure using a
dot-separated path
.
This is a convenience wrapper around deepGetFromSegments.
Implementation
dynamic deepGet(
Map<dynamic, dynamic>? map,
String path, {
String separator = '.',
}) {
return deepGetFromSegments(map, path.split(separator));
}