StringMapExtensions extension

Extension methods for String-keyed dynamic maps.

on

Methods

formatMap() String

Available on Map<String, dynamic>, provided by the StringMapExtensions extension

Formats this map as a human-readable string with indentation.
getChildString(String childKey) String?

Available on Map<String, dynamic>, provided by the StringMapExtensions extension

Gets a child value as String.
getGrandchild(String childKey, String grandChildKey) → dynamic

Available on Map<String, dynamic>, provided by the StringMapExtensions extension

Gets a grandchild value.
getGrandchildString(String childKey, String grandChildKey) String?

Available on Map<String, dynamic>, provided by the StringMapExtensions extension

Gets a grandchild value as String.
getGreatGrandchild(String childKey, String grandChildKey, String greatGrandChildKey) → dynamic

Available on Map<String, dynamic>, provided by the StringMapExtensions extension

Gets a great-grandchild value.
getGreatGrandchildString(String childKey, String grandChildKey, String greatGrandChildKey) String?

Available on Map<String, dynamic>, provided by the StringMapExtensions extension

Gets a great-grandchild value as String.
getValue(String? key) Map<String, dynamic>?

Available on Map<String, dynamic>, provided by the StringMapExtensions extension

Gets a child as Map<String, dynamic>.
removeKeys(List<String>? removeKeysList, {bool recurseChildValues = true}) bool

Available on Map<String, dynamic>, provided by the StringMapExtensions extension

Removes specified keys from this map.
toKeySorted() Map<String, dynamic>

Available on Map<String, dynamic>, provided by the StringMapExtensions extension

Returns a new map with keys sorted alphabetically.