CourseMedia class
Course Media model (AI-generated content)
- Annotations
-
- @JsonSerializable.new()
Constructors
- CourseMedia({String? mediaId, String? pseudoId, String? ownerPartyId, String? courseId, String? moduleId, String? lessonId, MediaPlatform? platform, MediaType? mediaType, String? title, String? generatedContent, String? editedContent, MediaStatus? status = MediaStatus.draft, DateTime? scheduledDate, DateTime? publishedDate, DateTime? createdDate, DateTime? lastModifiedDate})
-
CourseMedia.fromJson(Map<
String, dynamic> json) -
factory
Properties
- courseId → String?
-
final
- createdDate → DateTime?
-
final
- displayContent → String
-
Get the content to display (edited if available, otherwise generated)
no setter
- editedContent → String?
-
final
- generatedContent → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastModifiedDate → DateTime?
-
final
- lessonId → String?
-
final
- mediaId → String?
-
final
- mediaType → MediaType?
-
final
- moduleId → String?
-
final
- ownerPartyId → String?
-
final
- platform → MediaPlatform?
-
final
- pseudoId → String?
-
final
- publishedDate → DateTime?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheduledDate → DateTime?
-
final
- status → MediaStatus?
-
final
- title → String?
-
final
Methods
-
copyWith(
{String? mediaId, String? pseudoId, String? ownerPartyId, String? courseId, String? moduleId, String? lessonId, MediaPlatform? platform, MediaType? mediaType, String? title, String? generatedContent, String? editedContent, MediaStatus? status, DateTime? scheduledDate, DateTime? publishedDate, DateTime? createdDate, DateTime? lastModifiedDate}) → CourseMedia -
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 ==(
Object other) → bool -
The equality operator.
inherited