Closed
Description
description
As part of our move on the ecosystem team to map native APIs more closely, we should allow returning nullable values.
example
Example: flutter/plugins#4732 (comment)
workaround
Wrapping return values into objects can workaround the issue
class Foo {
int? nullableResult;
}
@HostApi()
abstract class Api {
Foo foo();
}