FeaturedMedia class

Annotations
  • @freezed

Constructors

FeaturedMedia({@JsonKey(name: 'ID') int? id, @JsonKey(name: 'url') String? mediaUrl, @JsonKey(name: 'title') String? title, @JsonKey(name: 'type', unknownEnumValue: FeaturedMediaType.UNKNOWN) FeaturedMediaType? featuredMediaType, @JsonKey(name: 'duration') int? duration, @JsonKey(name: 'width') int? width, @JsonKey(name: 'height') int? height, @JsonKey(name: 'thumbnail') String? thumbnail})
factory
FeaturedMedia.fromJson(Map<String, dynamic> json)
factory
FeaturedMedia.initial()
factory

Properties

copyWith → $FeaturedMediaCopyWith<FeaturedMedia>
no setterinherited
duration int?
no setterinherited
featuredMediaType FeaturedMediaType?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
height int?
no setterinherited
id int?
no setterinherited
mediaUrl String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thumbnail String?
no setterinherited
title String?
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>
inherited
toString() String
A string representation of this object.
inherited

Operators

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