forked from firka/flutter
Null safety migration of packages/flutter_tools/test/general.shard, part 2/2 (#110712)
* Migrate packages/flutter_tools/test/general.shard, part 2/2 * Fix analysis * Fix tests * Fix analysis * Apply suggestions from code review Co-authored-by: Christopher Fujino <fujino@google.com> Co-authored-by: Christopher Fujino <fujino@google.com>
This commit is contained in:
@@ -707,7 +707,7 @@ abstract class ResidentHandlers {
|
||||
}
|
||||
final List<FlutterView> views = await device!.vmService!.getFlutterViews();
|
||||
for (final FlutterView view in views) {
|
||||
final Map<String, Object>? rasterData =
|
||||
final Map<String, Object?>? rasterData =
|
||||
await device.vmService!.renderFrameWithRasterStats(
|
||||
viewId: view.id,
|
||||
uiIsolateId: view.uiIsolate!.id,
|
||||
|
||||
@@ -557,7 +557,7 @@ class FlutterVmService {
|
||||
/// for rasterization which is not reflective of how long the frame takes in
|
||||
/// production. This is primarily intended to be used to identify the layers
|
||||
/// that result in the most raster perf degradation.
|
||||
Future<Map<String, Object>?> renderFrameWithRasterStats({
|
||||
Future<Map<String, Object?>?> renderFrameWithRasterStats({
|
||||
required String? viewId,
|
||||
required String? uiIsolateId,
|
||||
}) async {
|
||||
@@ -568,7 +568,7 @@ class FlutterVmService {
|
||||
'viewId': viewId,
|
||||
},
|
||||
);
|
||||
return response?.json as Map<String, Object>?;
|
||||
return response?.json;
|
||||
}
|
||||
|
||||
Future<String> flutterDebugDumpApp({
|
||||
|
||||
Reference in New Issue
Block a user