getPhotoCapabilities method Null safety

Future<PhotoCapabilities> getPhotoCapabilities()

Implementation

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