f4f53ca252
Bug: https://github.com/dart-lang/sdk/issues/42535 Adds a runtime flag to ddc to enable runtime checks on native APIs. In the case where an API is typed non-nullable but returns a null value, throws a null assertion error. Change-Id: I4d5d7529ba28d9308687dad5d51f1b9c71274455 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/162461 Reviewed-by: Nicholas Shahan <nshahan@google.com> Commit-Queue: Srujan Gaddam <srujzs@google.com>