Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit e5cf378

Browse files
committed
fix(http): always initialize final coalesceDuration
fix a warning
1 parent 181f014 commit e5cf378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/core_dom/http.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,6 @@ class Http {
764764
class HttpConfig {
765765
final Duration coalesceDuration;
766766

767-
HttpConfig();
767+
HttpConfig(): coalesceDuration = null;
768768
HttpConfig.withOptions({this.coalesceDuration});
769769
}

0 commit comments

Comments
 (0)