Dart Documentationchrome.src.filesCrMetadata

CrMetadata class

class CrMetadata extends ChromeObject implements Metadata {
 CrMetadata.fromProxy(JsObject jsProxy) : super.fromProxy(jsProxy);

 int get size => jsProxy['size'];
 DateTime get modificationTime {
   return DateTime.parse(jsProxy['modificationTime'].callMethod('toISOString'));
 }
}

Extends

ChromeObject > CrMetadata

Implements

Metadata

Constructors

new CrMetadata.fromProxy(JsObject jsProxy) #

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

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

Properties

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

final DateTime modificationTime #

DateTime get modificationTime {
 return DateTime.parse(jsProxy['modificationTime'].callMethod('toISOString'));
}

final int size #

inherited from Metadata
final int size

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();