enable lint prefer_single_quotes (#12665)

This commit is contained in:
Alexandre Ardhuin
2017-10-22 18:11:36 +02:00
committed by GitHub
parent b07ea41954
commit 1fce14a31c
90 changed files with 664 additions and 663 deletions

View File

@@ -96,7 +96,7 @@ class LogRecord {
///
/// It is meant to be read by humans. There's no guarantee that this value is
/// stable enough to be parsed by machines.
String get levelDescription => level.toString().split(".").last;
String get levelDescription => level.toString().split('.').last;
@override
String toString() => '[${levelDescription.padRight(5)}] $loggerName: $message';