arjundevlucid

fixed some return null functions

@@ -34,6 +34,7 @@ class GetNavigator extends Navigator { @@ -34,6 +34,7 @@ class GetNavigator extends Navigator {
34 settings: settings, 34 settings: settings,
35 ); 35 );
36 } 36 }
  37 + return null;
37 }, 38 },
38 reportsRouteUpdateToEngine: reportsRouteUpdateToEngine, 39 reportsRouteUpdateToEngine: reportsRouteUpdateToEngine,
39 restorationScopeId: restorationScopeId, 40 restorationScopeId: restorationScopeId,
@@ -248,18 +248,21 @@ extension RxnBoolExt on Rx<bool?> { @@ -248,18 +248,21 @@ extension RxnBoolExt on Rx<bool?> {
248 248
249 bool? get isFalse { 249 bool? get isFalse {
250 if (value != null) return !isTrue!; 250 if (value != null) return !isTrue!;
  251 + return null;
251 } 252 }
252 253
253 bool? operator &(bool other) { 254 bool? operator &(bool other) {
254 if (value != null) { 255 if (value != null) {
255 return other && value!; 256 return other && value!;
256 } 257 }
  258 + return null;
257 } 259 }
258 260
259 bool? operator |(bool other) { 261 bool? operator |(bool other) {
260 if (value != null) { 262 if (value != null) {
261 return other || value!; 263 return other || value!;
262 } 264 }
  265 + return null;
263 } 266 }
264 267
265 bool? operator ^(bool other) => !other == value; 268 bool? operator ^(bool other) => !other == value;
@@ -269,6 +269,7 @@ extension RxnNumExt<T extends num> on Rx<T?> { @@ -269,6 +269,7 @@ extension RxnNumExt<T extends num> on Rx<T?> {
269 if (value != null) { 269 if (value != null) {
270 return value! * other; 270 return value! * other;
271 } 271 }
  272 + return null;
272 } 273 }
273 274
274 /// Euclidean modulo operator. 275 /// Euclidean modulo operator.
@@ -288,6 +289,7 @@ extension RxnNumExt<T extends num> on Rx<T?> { @@ -288,6 +289,7 @@ extension RxnNumExt<T extends num> on Rx<T?> {
288 if (value != null) { 289 if (value != null) {
289 return value! % other; 290 return value! % other;
290 } 291 }
  292 + return null;
291 } 293 }
292 294
293 /// Division operator. 295 /// Division operator.
@@ -295,6 +297,7 @@ extension RxnNumExt<T extends num> on Rx<T?> { @@ -295,6 +297,7 @@ extension RxnNumExt<T extends num> on Rx<T?> {
295 if (value != null) { 297 if (value != null) {
296 return value! / other; 298 return value! / other;
297 } 299 }
  300 + return null;
298 } 301 }
299 302
300 /// Truncating division operator. 303 /// Truncating division operator.
@@ -308,6 +311,7 @@ extension RxnNumExt<T extends num> on Rx<T?> { @@ -308,6 +311,7 @@ extension RxnNumExt<T extends num> on Rx<T?> {
308 if (value != null) { 311 if (value != null) {
309 return value! ~/ other; 312 return value! ~/ other;
310 } 313 }
  314 + return null;
311 } 315 }
312 316
313 /// Negate operator. 317 /// Negate operator.
@@ -315,6 +319,7 @@ extension RxnNumExt<T extends num> on Rx<T?> { @@ -315,6 +319,7 @@ extension RxnNumExt<T extends num> on Rx<T?> {
315 if (value != null) { 319 if (value != null) {
316 return -value!; 320 return -value!;
317 } 321 }
  322 + return null;
318 } 323 }
319 324
320 /// Returns the remainder of the truncating division of `this` by [other]. 325 /// Returns the remainder of the truncating division of `this` by [other].
@@ -330,6 +335,7 @@ extension RxnNumExt<T extends num> on Rx<T?> { @@ -330,6 +335,7 @@ extension RxnNumExt<T extends num> on Rx<T?> {
330 if (value != null) { 335 if (value != null) {
331 return value! < other; 336 return value! < other;
332 } 337 }
  338 + return null;
333 } 339 }
334 340
335 /// Relational less than or equal operator. 341 /// Relational less than or equal operator.
@@ -337,6 +343,7 @@ extension RxnNumExt<T extends num> on Rx<T?> { @@ -337,6 +343,7 @@ extension RxnNumExt<T extends num> on Rx<T?> {
337 if (value != null) { 343 if (value != null) {
338 return value! <= other; 344 return value! <= other;
339 } 345 }
  346 + return null;
340 } 347 }
341 348
342 /// Relational greater than operator. 349 /// Relational greater than operator.
@@ -344,6 +351,7 @@ extension RxnNumExt<T extends num> on Rx<T?> { @@ -344,6 +351,7 @@ extension RxnNumExt<T extends num> on Rx<T?> {
344 if (value != null) { 351 if (value != null) {
345 return value! > other; 352 return value! > other;
346 } 353 }
  354 + return null;
347 } 355 }
348 356
349 /// Relational greater than or equal operator. 357 /// Relational greater than or equal operator.
@@ -351,6 +359,7 @@ extension RxnNumExt<T extends num> on Rx<T?> { @@ -351,6 +359,7 @@ extension RxnNumExt<T extends num> on Rx<T?> {
351 if (value != null) { 359 if (value != null) {
352 return value! >= other; 360 return value! >= other;
353 } 361 }
  362 + return null;
354 } 363 }
355 364
356 /// True if the number is the double Not-a-Number value; otherwise, false. 365 /// True if the number is the double Not-a-Number value; otherwise, false.
@@ -585,6 +594,7 @@ class RxnNum extends Rx<num?> { @@ -585,6 +594,7 @@ class RxnNum extends Rx<num?> {
585 value = value! + other; 594 value = value! + other;
586 return value; 595 return value;
587 } 596 }
  597 + return null;
588 } 598 }
589 599
590 /// Subtraction operator. 600 /// Subtraction operator.
@@ -593,6 +603,7 @@ class RxnNum extends Rx<num?> { @@ -593,6 +603,7 @@ class RxnNum extends Rx<num?> {
593 value = value! - other; 603 value = value! - other;
594 return value; 604 return value;
595 } 605 }
  606 + return null;
596 } 607 }
597 } 608 }
598 609
@@ -711,6 +722,7 @@ extension RxnDoubleExt on Rx<double?> { @@ -711,6 +722,7 @@ extension RxnDoubleExt on Rx<double?> {
711 value = value! + other; 722 value = value! + other;
712 return this; 723 return this;
713 } 724 }
  725 + return null;
714 } 726 }
715 727
716 /// Subtraction operator. 728 /// Subtraction operator.
@@ -719,6 +731,7 @@ extension RxnDoubleExt on Rx<double?> { @@ -719,6 +731,7 @@ extension RxnDoubleExt on Rx<double?> {
719 value = value! + other; 731 value = value! + other;
720 return this; 732 return this;
721 } 733 }
  734 + return null;
722 } 735 }
723 736
724 /// Multiplication operator. 737 /// Multiplication operator.
@@ -726,12 +739,14 @@ extension RxnDoubleExt on Rx<double?> { @@ -726,12 +739,14 @@ extension RxnDoubleExt on Rx<double?> {
726 if (value != null) { 739 if (value != null) {
727 return value! * other; 740 return value! * other;
728 } 741 }
  742 + return null;
729 } 743 }
730 744
731 double? operator %(num other) { 745 double? operator %(num other) {
732 if (value != null) { 746 if (value != null) {
733 return value! % other; 747 return value! % other;
734 } 748 }
  749 + return null;
735 } 750 }
736 751
737 /// Division operator. 752 /// Division operator.
@@ -739,6 +754,7 @@ extension RxnDoubleExt on Rx<double?> { @@ -739,6 +754,7 @@ extension RxnDoubleExt on Rx<double?> {
739 if (value != null) { 754 if (value != null) {
740 return value! / other; 755 return value! / other;
741 } 756 }
  757 + return null;
742 } 758 }
743 759
744 /// Truncating division operator. 760 /// Truncating division operator.
@@ -749,6 +765,7 @@ extension RxnDoubleExt on Rx<double?> { @@ -749,6 +765,7 @@ extension RxnDoubleExt on Rx<double?> {
749 if (value != null) { 765 if (value != null) {
750 return value! ~/ other; 766 return value! ~/ other;
751 } 767 }
  768 + return null;
752 } 769 }
753 770
754 /// Negate operator. */ 771 /// Negate operator. */
@@ -756,6 +773,7 @@ extension RxnDoubleExt on Rx<double?> { @@ -756,6 +773,7 @@ extension RxnDoubleExt on Rx<double?> {
756 if (value != null) { 773 if (value != null) {
757 return -value!; 774 return -value!;
758 } 775 }
  776 + return null;
759 } 777 }
760 778
761 /// Returns the absolute value of this [double]. 779 /// Returns the absolute value of this [double].
@@ -1104,6 +1122,7 @@ extension RxnIntExt on Rx<int?> { @@ -1104,6 +1122,7 @@ extension RxnIntExt on Rx<int?> {
1104 if (value != null) { 1122 if (value != null) {
1105 return value! & other; 1123 return value! & other;
1106 } 1124 }
  1125 + return null;
1107 } 1126 }
1108 1127
1109 /// Bit-wise or operator. 1128 /// Bit-wise or operator.
@@ -1118,6 +1137,7 @@ extension RxnIntExt on Rx<int?> { @@ -1118,6 +1137,7 @@ extension RxnIntExt on Rx<int?> {
1118 if (value != null) { 1137 if (value != null) {
1119 return value! | other; 1138 return value! | other;
1120 } 1139 }
  1140 + return null;
1121 } 1141 }
1122 1142
1123 /// Bit-wise exclusive-or operator. 1143 /// Bit-wise exclusive-or operator.
@@ -1132,6 +1152,7 @@ extension RxnIntExt on Rx<int?> { @@ -1132,6 +1152,7 @@ extension RxnIntExt on Rx<int?> {
1132 if (value != null) { 1152 if (value != null) {
1133 return value! ^ other; 1153 return value! ^ other;
1134 } 1154 }
  1155 + return null;
1135 } 1156 }
1136 1157
1137 /// The bit-wise negate operator. 1158 /// The bit-wise negate operator.
@@ -1144,6 +1165,7 @@ extension RxnIntExt on Rx<int?> { @@ -1144,6 +1165,7 @@ extension RxnIntExt on Rx<int?> {
1144 if (value != null) { 1165 if (value != null) {
1145 return ~value!; 1166 return ~value!;
1146 } 1167 }
  1168 + return null;
1147 } 1169 }
1148 1170
1149 /// Shift the bits of this integer to the left by [shiftAmount]. 1171 /// Shift the bits of this integer to the left by [shiftAmount].
@@ -1160,6 +1182,7 @@ extension RxnIntExt on Rx<int?> { @@ -1160,6 +1182,7 @@ extension RxnIntExt on Rx<int?> {
1160 if (value != null) { 1182 if (value != null) {
1161 return value! << shiftAmount; 1183 return value! << shiftAmount;
1162 } 1184 }
  1185 + return null;
1163 } 1186 }
1164 1187
1165 /// Shift the bits of this integer to the right by [shiftAmount]. 1188 /// Shift the bits of this integer to the right by [shiftAmount].
@@ -1173,6 +1196,7 @@ extension RxnIntExt on Rx<int?> { @@ -1173,6 +1196,7 @@ extension RxnIntExt on Rx<int?> {
1173 if (value != null) { 1196 if (value != null) {
1174 return value! >> shiftAmount; 1197 return value! >> shiftAmount;
1175 } 1198 }
  1199 + return null;
1176 } 1200 }
1177 1201
1178 /// Returns this integer to the power of [exponent] modulo [modulus]. 1202 /// Returns this integer to the power of [exponent] modulo [modulus].
@@ -1290,6 +1314,7 @@ extension RxnIntExt on Rx<int?> { @@ -1290,6 +1314,7 @@ extension RxnIntExt on Rx<int?> {
1290 if (value != null) { 1314 if (value != null) {
1291 return -value!; 1315 return -value!;
1292 } 1316 }
  1317 + return null;
1293 } 1318 }
1294 1319
1295 /// Returns the absolute value of this integer. 1320 /// Returns the absolute value of this integer.