Jonny Borges

fix

@@ -112,7 +112,7 @@ class GetPageRoute<T> extends PageRoute<T> //MaterialPageRoute<T> @@ -112,7 +112,7 @@ class GetPageRoute<T> extends PageRoute<T> //MaterialPageRoute<T>
112 final bindingsToBind = middlewareRunner 112 final bindingsToBind = middlewareRunner
113 .runOnBindingsStart(binding != null ? localbindings : localbinds); 113 .runOnBindingsStart(binding != null ? localbindings : localbinds);
114 114
115 - /// Retrocompatibility workaround, remove this when Bindings api 115 + /// Retrocompatibility workaround, remove this when Bindings api
116 /// have been removed 116 /// have been removed
117 if (bindingsToBind != null && 117 if (bindingsToBind != null &&
118 bindingsToBind is! List<Bind> && 118 bindingsToBind is! List<Bind> &&
@@ -225,5 +225,5 @@ @@ -225,5 +225,5 @@
225 // typedef RemoveSubscription<T> = FutureOr<bool?> Function( 225 // typedef RemoveSubscription<T> = FutureOr<bool?> Function(
226 // LightSubscription<T> subs); 226 // LightSubscription<T> subs);
227 227
228 -// typedef AddSubscription<T> = 228 +// typedef AddSubscription<T> =
229 //FutureOr<void> Function(LightSubscription<T> subs); 229 //FutureOr<void> Function(LightSubscription<T> subs);
@@ -34,8 +34,8 @@ class RxSet<E> extends GetListenable<Set<E>> @@ -34,8 +34,8 @@ class RxSet<E> extends GetListenable<Set<E>>
34 } 34 }
35 35
36 @override 36 @override
37 - bool add(E value) {  
38 - final hasAdded = value.add(value); 37 + bool add(E val) {
  38 + final hasAdded = value.add(val);
39 if (hasAdded) { 39 if (hasAdded) {
40 refresh(); 40 refresh();
41 } 41 }
@@ -361,7 +361,6 @@ class BindWrapper<T> extends InheritedWidget { @@ -361,7 +361,6 @@ class BindWrapper<T> extends InheritedWidget {
361 this.didUpdateWidget, 361 this.didUpdateWidget,
362 }) : super(key: key, child: child); 362 }) : super(key: key, child: child);
363 363
364 -  
365 final InitBuilder<T>? init; 364 final InitBuilder<T>? init;
366 final bool global; 365 final bool global;
367 final Object? id; 366 final Object? id;
@@ -158,7 +158,7 @@ GetValue is ${calculePercentage(dart, getx).round()}% faster than Default ValueN @@ -158,7 +158,7 @@ GetValue is ${calculePercentage(dart, getx).round()}% faster than Default ValueN
158 print('============================================'); 158 print('============================================');
159 print('DART STREAM X GET_STREAM X GET_MINI_STREAM TEST'); 159 print('DART STREAM X GET_STREAM X GET_MINI_STREAM TEST');
160 print('-----------'); 160 print('-----------');
161 - // var getx = await getStream(); 161 + // var getx = await getStream();
162 var mini = await miniStream(); 162 var mini = await miniStream();
163 var dart = await stream(); 163 var dart = await stream();
164 print('-----------'); 164 print('-----------');
@@ -168,16 +168,16 @@ GetStream is ${calculePercentage(dart, mini).round()}% faster than Default Strea @@ -168,16 +168,16 @@ GetStream is ${calculePercentage(dart, mini).round()}% faster than Default Strea
168 168
169 times = 30000; 169 times = 30000;
170 dart = await stream(); 170 dart = await stream();
171 - // getx = await getStream(); 171 + // getx = await getStream();
172 mini = await miniStream(); 172 mini = await miniStream();
173 173
174 times = 60000; 174 times = 60000;
175 dart = await stream(); 175 dart = await stream();
176 - // getx = await getStream(); 176 + // getx = await getStream();
177 mini = await miniStream(); 177 mini = await miniStream();
178 print('-----------'); 178 print('-----------');
179 print('dart_stream delay $dart ms to made $times requests'); 179 print('dart_stream delay $dart ms to made $times requests');
180 - // print('getx_stream delay $getx ms to made $times requests'); 180 + // print('getx_stream delay $getx ms to made $times requests');
181 print('getx_mini_stream delay $mini ms to made $times requests'); 181 print('getx_mini_stream delay $mini ms to made $times requests');
182 print('-----------'); 182 print('-----------');
183 print(''' 183 print('''