apply partially the upcoming unnecessary_lambdas (#8810)
This commit is contained in:
committed by
GitHub
parent
f9ad230f15
commit
2166ea5b7f
@@ -160,7 +160,7 @@ class TimelineSummary {
|
||||
|
||||
return durations
|
||||
.map<double>((Duration duration) => duration.inMilliseconds.toDouble())
|
||||
.reduce((double a, double b) => math.max(a, b));
|
||||
.reduce(math.max);
|
||||
}
|
||||
|
||||
List<TimedEvent> _extractGpuRasterizerDrawEvents() => _extractBeginEndEvents('GPURasterizer::Draw');
|
||||
|
||||
Reference in New Issue
Block a user