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 DateTime modificationTime #
DateTime get modificationTime { return DateTime.parse(jsProxy['modificationTime'].callMethod('toISOString')); }
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();