Dart Documentationchrome.mediaGalleriesMediaFileSystemMetadata

MediaFileSystemMetadata class

class MediaFileSystemMetadata extends ChromeObject {
 MediaFileSystemMetadata({String name, String galleryId, String deviceId, bool isRemovable, bool isMediaDevice}) {
   if (name != null) this.name = name;
   if (galleryId != null) this.galleryId = galleryId;
   if (deviceId != null) this.deviceId = deviceId;
   if (isRemovable != null) this.isRemovable = isRemovable;
   if (isMediaDevice != null) this.isMediaDevice = isMediaDevice;
 }
 MediaFileSystemMetadata.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 String get name => jsProxy['name'];
 set name(String value) => jsProxy['name'] = value;

 String get galleryId => jsProxy['galleryId'];
 set galleryId(String value) => jsProxy['galleryId'] = value;

 String get deviceId => jsProxy['deviceId'];
 set deviceId(String value) => jsProxy['deviceId'] = value;

 bool get isRemovable => jsProxy['isRemovable'];
 set isRemovable(bool value) => jsProxy['isRemovable'] = value;

 bool get isMediaDevice => jsProxy['isMediaDevice'];
 set isMediaDevice(bool value) => jsProxy['isMediaDevice'] = value;
}

Extends

ChromeObject > MediaFileSystemMetadata

Constructors

new MediaFileSystemMetadata({String name, String galleryId, String deviceId, bool isRemovable, bool isMediaDevice}) #

Create a new instance of a ChromeObject, which creates and delegates to a JsObject proxy.

docs inherited from ChromeObject
MediaFileSystemMetadata({String name, String galleryId, String deviceId, bool isRemovable, bool isMediaDevice}) {
 if (name != null) this.name = name;
 if (galleryId != null) this.galleryId = galleryId;
 if (deviceId != null) this.deviceId = deviceId;
 if (isRemovable != null) this.isRemovable = isRemovable;
 if (isMediaDevice != null) this.isMediaDevice = isMediaDevice;
}

new MediaFileSystemMetadata.fromProxy(JsObject jsProxy) #

Create a new instance of a ChromeObject, which delegates to the given JsObject proxy.

docs inherited from ChromeObject
MediaFileSystemMetadata.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

Properties

String deviceId #

String get deviceId => jsProxy['deviceId'];
set deviceId(String value) => jsProxy['deviceId'] = value;

String galleryId #

String get galleryId => jsProxy['galleryId'];
set galleryId(String value) => jsProxy['galleryId'] = value;

bool isMediaDevice #

bool get isMediaDevice => jsProxy['isMediaDevice'];
set isMediaDevice(bool value) => jsProxy['isMediaDevice'] = value;

bool isRemovable #

bool get isRemovable => jsProxy['isRemovable'];
set isRemovable(bool value) => jsProxy['isRemovable'] = value;

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

String name #

String get name => jsProxy['name'];
set name(String value) => jsProxy['name'] = value;

Methods

JsObject toJs() #

inherited from ChromeObject
JsObject toJs() => jsProxy;

String toString() #

inherited from ChromeObject

Returns a string representation of this object.

docs inherited from Object
String toString() => jsProxy.toString();