Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Hitsu91
2020-09-17 19:07:22 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
73342c8b382beff9f50e92a83aad9a23f3c15813
73342c8b
1 parent
88d0cbf0
null check on RxMap and RxSet constructors
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
lib/src/state_manager/rx/rx_iterables/rx_map.dart
lib/src/state_manager/rx/rx_iterables/rx_set.dart
lib/src/state_manager/rx/rx_iterables/rx_map.dart
View file @
73342c8
...
...
@@ -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
...
...
lib/src/state_manager/rx/rx_iterables/rx_set.dart
View file @
73342c8
...
...
@@ -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
>{};
...
...
Please
register
or
login
to post a comment