HashMap.from constructor

Creates a HashMap that contains all key/value pairs of other.

HashMap.from(
Map other
)

Creates a HashMap that contains all key/value pairs of other.