SetOrUpdateOnMapExtension<TK, TV> extension

on

Methods

upsert({required TK key, TV value(TV item)?, required TV defaultValue, bool overwrite = true}) → void
if key present, overwrites value, if overwriteValue set, else inserts