Hitsu91

null check on RxMap and RxSet constructors

... ... @@ -9,7 +9,7 @@ import '../rx_typedefs/rx_typedefs.dart';
class RxMap<K, V> implements RxInterface<Map<K, V>>, Map<K, V> {
RxMap([Map<K, V> initial]) {
_value = initial;
if (initial != null) _value = initial;
}
@override
... ...
... ... @@ -9,7 +9,7 @@ import '../rx_typedefs/rx_typedefs.dart';
class RxSet<E> implements Set<E>, RxInterface<Set<E>> {
RxSet([Set<E> initial]) {
_set = initial;
if (initial != null) _set = initial;
}
Set<E> _set = <E>{};
... ...