UploadedMediaData class

This object represents uploaded media data.

Annotations
  • @freezed

Constructors

UploadedMediaData({@JsonKey(name: 'media_id_string') required String id, required DateTime expiresAt, Locale? locale})
const
factory
UploadedMediaData.fromJson(Map<String, Object?> json)
factory

Properties

copyWith → $UploadedMediaDataCopyWith<UploadedMediaData>
no setterinherited
expiresAt DateTime
The date and time this media will expire.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
The identifier for the uploaded media.
no setterinherited
locale Locale?
The locale of this media.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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