[null-safety] fix Scene.toImage declaration (flutter/engine#21983)

This commit is contained in:
Jonah Williams
2020-10-19 22:52:19 -07:00
committed by GitHub
parent b76ca878fc
commit 3800b018d9

View File

@@ -37,7 +37,7 @@ class Scene extends NativeFieldWrapperClass2 {
);
}
String _toImage(int width, int height, _Callback<_Image> callback) native 'Scene_toImage';
String? _toImage(int width, int height, _Callback<_Image> callback) native 'Scene_toImage';
/// Releases the resources used by this scene.
///