///

/// We use this so that APIs that have become

/// non-nullable can still be used with `!` and `?`

/// to support older versions of the API as well.

_ambiguate

>(

value

value

For example, instead of the following:

SchedulerBinding

instance

!.

addPostFrameCallback

(...);

You can use:

_ambiguate

SchedulerBinding

instance

!.

addPostFrameCallback

(...);

When you no longer need to support versions of
Flutter before 3.0.0, you can remove this and
replace it with the following:

SchedulerBinding

instance

addPostFrameCallback