assignAll method
Implementation
void assignAll(Map<K, V> val) {
if (val is RxMap && this is RxMap) {
if ((val as RxMap<K, V>).value == (this as RxMap<K, V>).value) {
return;
}
}
if (this is RxMap) {
final RxMap<K, V> map = this as RxMap<K, V>;
if (map.value == val) {
return;
}
map.value = val;
// ignore: invalid_use_of_protected_member
map.refresh();
} else {
if (this == val) {
return;
}
clear();
addAll(val);
}
}