Jonny Borges

fix

... ... @@ -112,7 +112,7 @@ class GetPageRoute<T> extends PageRoute<T> //MaterialPageRoute<T>
final bindingsToBind = middlewareRunner
.runOnBindingsStart(binding != null ? localbindings : localbinds);
/// Retrocompatibility workaround, remove this when Bindings api
/// Retrocompatibility workaround, remove this when Bindings api
/// have been removed
if (bindingsToBind != null &&
bindingsToBind is! List<Bind> &&
... ...
... ... @@ -225,5 +225,5 @@
// typedef RemoveSubscription<T> = FutureOr<bool?> Function(
// LightSubscription<T> subs);
// typedef AddSubscription<T> =
// typedef AddSubscription<T> =
//FutureOr<void> Function(LightSubscription<T> subs);
... ...
... ... @@ -34,8 +34,8 @@ class RxSet<E> extends GetListenable<Set<E>>
}
@override
bool add(E value) {
final hasAdded = value.add(value);
bool add(E val) {
final hasAdded = value.add(val);
if (hasAdded) {
refresh();
}
... ...
... ... @@ -361,7 +361,6 @@ class BindWrapper<T> extends InheritedWidget {
this.didUpdateWidget,
}) : super(key: key, child: child);
final InitBuilder<T>? init;
final bool global;
final Object? id;
... ...
... ... @@ -158,7 +158,7 @@ GetValue is ${calculePercentage(dart, getx).round()}% faster than Default ValueN
print('============================================');
print('DART STREAM X GET_STREAM X GET_MINI_STREAM TEST');
print('-----------');
// var getx = await getStream();
// var getx = await getStream();
var mini = await miniStream();
var dart = await stream();
print('-----------');
... ... @@ -168,16 +168,16 @@ GetStream is ${calculePercentage(dart, mini).round()}% faster than Default Strea
times = 30000;
dart = await stream();
// getx = await getStream();
// getx = await getStream();
mini = await miniStream();
times = 60000;
dart = await stream();
// getx = await getStream();
// getx = await getStream();
mini = await miniStream();
print('-----------');
print('dart_stream delay $dart ms to made $times requests');
// print('getx_stream delay $getx ms to made $times requests');
// print('getx_stream delay $getx ms to made $times requests');
print('getx_mini_stream delay $mini ms to made $times requests');
print('-----------');
print('''
... ...