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
Frank Moreno
2021-06-13 23:09:18 -0500
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f401a5bc1dfccbf3d1b957dcd154248c5a423eaf
f401a5bc
1 parent
ff2d7b31
better usage of null aware operator
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
12 deletions
lib/get_rx/src/rx_types/rx_core/rx_impl.dart
lib/get_rx/src/rx_types/rx_iterables/rx_list.dart
lib/get_rx/src/rx_types/rx_iterables/rx_map.dart
lib/get_rx/src/rx_types/rx_iterables/rx_set.dart
lib/get_rx/src/rx_types/rx_core/rx_impl.dart
View file @
f401a5b
...
...
@@ -105,9 +105,7 @@ mixin RxObjectMixin<T> on NotifyManager<T> {
/// Returns the current [value]
T
get
value
{
if
(
RxInterface
.
proxy
!=
null
)
{
RxInterface
.
proxy
!.
addListener
(
subject
);
}
RxInterface
.
proxy
?.
addListener
(
subject
);
return
_value
;
}
...
...
lib/get_rx/src/rx_types/rx_iterables/rx_list.dart
View file @
f401a5b
...
...
@@ -78,9 +78,7 @@ class RxList<E> extends ListMixin<E>
@override
@protected
List
<
E
>
get
value
{
if
(
RxInterface
.
proxy
!=
null
)
{
RxInterface
.
proxy
!.
addListener
(
subject
);
}
RxInterface
.
proxy
?.
addListener
(
subject
);
return
_value
;
}
...
...
lib/get_rx/src/rx_types/rx_iterables/rx_map.dart
View file @
f401a5b
...
...
@@ -56,9 +56,7 @@ class RxMap<K, V> extends MapMixin<K, V>
@override
@protected
Map
<
K
,
V
>
get
value
{
if
(
RxInterface
.
proxy
!=
null
)
{
RxInterface
.
proxy
!.
addListener
(
subject
);
}
RxInterface
.
proxy
?.
addListener
(
subject
);
return
_value
;
}
}
...
...
lib/get_rx/src/rx_types/rx_iterables/rx_set.dart
View file @
f401a5b
...
...
@@ -23,9 +23,7 @@ class RxSet<E> extends SetMixin<E>
@override
@protected
Set
<
E
>
get
value
{
if
(
RxInterface
.
proxy
!=
null
)
{
RxInterface
.
proxy
!.
addListener
(
subject
);
}
RxInterface
.
proxy
?.
addListener
(
subject
);
return
_value
;
}
...
...
Please
register
or
login
to post a comment