fix analyzer warning: use const where possible (#9320)

This commit is contained in:
Yegor
2017-04-10 14:20:47 -07:00
committed by GitHub
parent 5efbe05f04
commit a5593b1678
5 changed files with 7 additions and 7 deletions

View File

@@ -294,7 +294,7 @@ class VersionCheckStamp {
}
// Stamp is missing or is malformed.
return new VersionCheckStamp();
return const VersionCheckStamp();
}
static VersionCheckStamp fromJson(Map<String, String> json) {