MediaMetadata class

Metadata for a media item.

Constructors

MediaMetadata({String? creationTime, String? height, Photo? photo, Video? video, String? width})
MediaMetadata.fromJson(Map json_)

Properties

creationTime String?
Time when the media item was first created (not when it was uploaded to Google Photos).
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height String?
Original height (in pixels) of the media item.
getter/setter pair
photo Photo?
Metadata for a photo media type.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
video Video?
Metadata for a video media type.
getter/setter pair
width String?
Original width (in pixels) of the media item.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited