getPhotoCapabilities method Null safety

Future<PhotoCapabilities> getPhotoCapabilities ()

Implementation

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