CollectiveMap extension Null safety

on

Methods

assignValue(Map source) Map
Assigns own enumerable string keyed properties of source objects to the destination object. This is equivalent to the Object.assign method or the _= operator. Returns the destination object.
findKeyValue(Function predicate) → dynamic
it returns the key of the first element predicate returns truthy for instead of the element itself. If predicate is not provided, it returns the first element in the array. This is equivalent to the findKey function. Returns the key of the first element predicate returns truthy for instead of the element itself.
getValueList() List
Creates an array of the own enumerable string keyed property values of object. This is equivalent to the values function. Returns the values in object.
hasInValue(String path) bool
Checks if path is a direct or inherited property of object. This is equivalent to the hasIn function. Returns true if path is a direct or inherited property of object, else false.
hasValue(String path) bool
Checks if path is a direct property of object. This is equivalent to the has function. Returns true if path is a direct property of object, else false.