MapUtils class

Constructors

MapUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

addStringToMap({required Map<String, dynamic> map, required String destinationPath, required String leafContent}) → void
Adds a string (leaf) to the map at the specified path
addToList({required List list, required int index, required dynamic element, required bool overwrite}) bool
Adds an element to the list Adding must be in the correct order, so if the list is too small, then it won't be added Returns true, if the element was added