helpers/map library

Functions

deleteInHashmap(HashMap map, int index) → void
fromMap(Map? map, dynamic key, {dynamic defaultValue}) → dynamic
Returns a key value pair from a map if it exists, otherwise optionally return a default value else null
fromMapAsBool(Map? map, dynamic key, {bool? defaultValue}) bool?
Returns the value from fromMap as a bool if it is a bool
fromMapAsDouble(Map map, dynamic key, {double? defaultValue}) double?
Returns a value from fromMap as a double if it is numeric
fromMapAsInt(Map? map, dynamic key, {int? defaultValue}) int?
Returns the value from fromMap as an int if it is numeric
insertInHashmap(HashMap map, int index) → void
moveInHashmap(HashMap map, int fromIndex, int toIndex) → void