MediaAttachmentMeta class
- Annotations
-
- @freezed
Constructors
- MediaAttachmentMeta({@JsonKey(name: 'length') String? length, @JsonKey(name: 'duration') double? duration, @JsonKey(name: 'fps') int? fps, @JsonKey(name: 'size') String? size, @JsonKey(name: 'width') int? width, @JsonKey(name: 'height') int? height, @JsonKey(name: 'aspect') double? aspect, @JsonKey(name: 'audio_encode') String? audioEncode, @JsonKey(name: 'audio_bitrate') String? audioBitrate, @JsonKey(name: 'audio_channels') String? audioChannels, @JsonKey(name: 'original') MediaAttachmentMetadata? original, @JsonKey(name: 'small') MediaAttachmentMetadata? small, @JsonKey(name: 'focus') MediaAttachmentMetaFocus? focus})
-
constfactory
-
MediaAttachmentMeta.fromJson(Map<
String, dynamic> json) -
factory
Properties
- aspect → double?
-
no setterinherited
- audioBitrate → String?
-
no setterinherited
- audioChannels → String?
-
no setterinherited
- audioEncode → String?
-
no setterinherited
-
copyWith
→ $MediaAttachmentMetaCopyWith<
MediaAttachmentMeta> -
Create a copy of MediaAttachmentMeta
with the given fields replaced by the non-null parameter values.
no setterinherited
- duration → double?
-
no setterinherited
- focus → MediaAttachmentMetaFocus?
-
no setterinherited
- fps → int?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int?
-
no setterinherited
- length → String?
-
no setterinherited
- original → MediaAttachmentMetadata?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → String?
-
no setterinherited
- small → MediaAttachmentMetadata?
-
no setterinherited
- width → int?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this MediaAttachmentMeta to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited