MediaMetadata class Null safety

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).
read / write
hashCode int
The hash code for this object.
read-onlyinherited
height String?
Original height (in pixels) of the media item.
read / write
photo Photo?
Metadata for a photo media type.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
video Video?
Metadata for a video media type.
read / write
width String?
Original width (in pixels) of the media item.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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