getAvailability method Null safety

Future<PresentationAvailability> getAvailability ()

Implementation

Future<PresentationAvailability> getAvailability() =>
    promiseToFuture<PresentationAvailability>(
        JS("", "#.getAvailability()", this));