MapExtend<M, T> extension
- on
-
- Map<
M, T> ?
- Map<
Methods
-
addItem(
M key, T value) → Map< M, T> ? -
Available on Map<
添加元素到map中M, T> ?, provided by the MapExtend extensionkey
元素keyvalue
元素value -
getValue<
T> (M key, [T? defaultValue]) → T? -
Available on Map<
获取map valueM, T> ?, provided by the MapExtend extensionkey
map->keydefaultValue
不在存在时返回默认值 -
isEmptyMap(
) → bool -
Available on Map<
判断是否空map key-valueM, T> ?, provided by the MapExtend extension -
isNotEmptyMap(
) → bool -
Available on Map<
判断map为非空M, T> ?, provided by the MapExtend extension -
merge(
Map< M, T> items) → Map<M, T> -
Available on Map<
合并两个map对象M, T> ?, provided by the MapExtend extensionitems
要合并的map集合 -
removeKeys(
List< M> keys) → void -
Available on Map<
移除map中对应key的数据M, T> ?, provided by the MapExtend extensionkeys
map keys -
toJsonString(
) → dynamic -
Available on Map<
转换对象至jsonM, T> ?, provided by the MapExtend extension