prefer_is_empty and prefer_is_not_empty (#8474)
This commit is contained in:
committed by
Adam Barth
parent
2f002885cc
commit
69b6bb87d1
@@ -408,7 +408,7 @@ class FlutterDriver {
|
||||
|
||||
/// Starts recording performance traces.
|
||||
Future<Null> startTracing({List<TimelineStream> streams: _defaultStreams}) async {
|
||||
assert(streams != null && streams.length > 0);
|
||||
assert(streams != null && streams.isNotEmpty);
|
||||
try {
|
||||
await _peer.sendRequest(_kSetVMTimelineFlagsMethod, <String, String>{
|
||||
'recordedStreams': _timelineStreamsToString(streams)
|
||||
|
||||
Reference in New Issue
Block a user