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