[null-safety] fix Scene.toImage declaration (flutter/engine#21983)
This commit is contained in:
@@ -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.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user