@@ -180,7 +180,7 @@ void main() {
180
180
data: "a {b: foo()}" ,
181
181
functions: jsify ({
182
182
"foo" : allowInterop ((done) {
183
- Future . delayed (Duration .zero). then ((_ ) {
183
+ Timer (Duration .zero, ( ) {
184
184
done (callConstructor (sass.types.Number , [1 ]));
185
185
});
186
186
})
@@ -210,7 +210,7 @@ void main() {
210
210
data: "a {b: foo()}" ,
211
211
functions: jsify ({
212
212
"foo" : allowInterop ((done) {
213
- Future . delayed (Duration .zero). then ((_ ) {
213
+ Timer (Duration .zero, ( ) {
214
214
done (JSError ("aw beans" ));
215
215
});
216
216
})
@@ -223,7 +223,7 @@ void main() {
223
223
data: "a {b: foo()}" ,
224
224
functions: jsify ({
225
225
"foo" : allowInterop ((done) {
226
- Future . delayed (Duration .zero). then ((_ ) {
226
+ Timer (Duration .zero, ( ) {
227
227
done (callConstructor (sass.types.Error , ["aw beans" ]));
228
228
});
229
229
})
@@ -236,7 +236,7 @@ void main() {
236
236
data: "a {b: foo()}" ,
237
237
functions: jsify ({
238
238
"foo" : allowInterop ((done) {
239
- Future . delayed (Duration .zero). then ((_ ) {
239
+ Timer (Duration .zero, ( ) {
240
240
done (null );
241
241
});
242
242
})
@@ -249,7 +249,7 @@ void main() {
249
249
data: "a {b: foo()}" ,
250
250
functions: jsify ({
251
251
"foo" : allowInterop ((done) {
252
- Future . delayed (Duration .zero). then ((_ ) {
252
+ Timer (Duration .zero, ( ) {
253
253
done ();
254
254
});
255
255
})
@@ -291,7 +291,7 @@ void main() {
291
291
data: "a {b: foo()}" ,
292
292
functions: jsify ({
293
293
"foo" : allowInterop ((done) {
294
- Future . delayed (Duration .zero). then ((_ ) {
294
+ Timer (Duration .zero, ( ) {
295
295
done (callConstructor (sass.types.Number , [1 ]));
296
296
});
297
297
})
@@ -313,7 +313,7 @@ void main() {
313
313
data: "a {b: foo()}" ,
314
314
functions: jsify ({
315
315
"foo" : allowInterop ((done) {
316
- Future . delayed (Duration .zero). then ((_ ) {
316
+ Timer (Duration .zero, ( ) {
317
317
done (JSError ("aw beans" ));
318
318
});
319
319
})
@@ -327,7 +327,7 @@ void main() {
327
327
data: "a {b: foo()}" ,
328
328
functions: jsify ({
329
329
"foo" : allowInterop ((done) {
330
- Future . delayed (Duration .zero). then ((_ ) {
330
+ Timer (Duration .zero, ( ) {
331
331
done (null );
332
332
});
333
333
})
@@ -341,7 +341,7 @@ void main() {
341
341
data: "a {b: foo()}" ,
342
342
functions: jsify ({
343
343
"foo" : allowInterop ((done) {
344
- Future . delayed (Duration .zero). then ((_ ) {
344
+ Timer (Duration .zero, ( ) {
345
345
done ();
346
346
});
347
347
})
0 commit comments