Media class
- Available Extensions
- Annotations
-
- @immutable
Constructors
-
Media({required Map<
String, dynamic> self, int? id, DateTime? date, DateTime? dateGmt, Content? guid, DateTime? modified, DateTime? modifiedGmt, String? slug, MediaFilterStatus? status, String? type, String? link, Content? title, int? author, Status? commentStatus, Status? pingStatus, String? template, dynamic meta, Content? description, String? altText, String? mediaType, String? mimeType, MediaDetails? mediaDetails, int? post, String? sourceUrl, Links? links}) -
const
-
Media.fromJson(Map<
String, dynamic> json) -
factory
Properties
- altText → String?
-
final
-
final
-
final
- commentStatus → Status?
-
final
- date → DateTime?
-
final
- dateGmt → DateTime?
-
final
- description → Content?
-
final
- guid → Content?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → int?
-
final
- link → String?
-
final
- links → Links?
-
final
- mediaDetails → MediaDetails?
-
final
- mediaType → String?
-
final
- meta → dynamic
-
final
- mimeType → String?
-
final
- modified → DateTime?
-
final
- modifiedGmt → DateTime?
-
final
- pingStatus → Status?
-
final
- post → int?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
self
→ Map<
String, dynamic> -
Represents the entire JSON body as a Map.
final
- slug → String?
-
final
- sourceUrl → String?
-
final
- status → MediaFilterStatus?
-
final
- template → String?
-
final
- title → Content?
-
final
- type → String?
-
final
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.
override
Operators
-
operator ==(
covariant Media other) → bool -
The equality operator.
override