getAvailability method Null safety

Future<PresentationAvailability> getAvailability()

Implementation

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