Scene class abstract

Available extensions
Annotations

Constructors

Scene({required String id, required String title, String? details, String? path, required DateTime date, required int? rating100, @JsonKey(name: 'o_counter') required int oCounter, required bool organized, required bool interactive, @JsonKey(name: 'resume_time') required double? resumeTime, @JsonKey(name: 'play_count') required int playCount, required List<SceneFile> files, required ScenePaths paths, @JsonKey(name: 'studio_id') required String? studioId, @JsonKey(name: 'studio_name') required String? studioName, @JsonKey(name: 'studio_image_path') required String? studioImagePath, @JsonKey(name: 'performer_ids') required List<String> performerIds, @JsonKey(name: 'performer_names') required List<String> performerNames, @JsonKey(name: 'performer_image_paths') required List<String?> performerImagePaths, @JsonKey(name: 'tag_ids') required List<String> tagIds, @JsonKey(name: 'tag_names') required List<String> tagNames})
const
factory
Scene.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $SceneCopyWith<Scene>
Create a copy of Scene with the given fields replaced by the non-null parameter values.
no setterinherited
date DateTime
no setterinherited
details String?
no setterinherited
displayTitle String

Available on Scene, provided by the SceneDisplayTitleX extension

no setter
files List<SceneFile>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
interactive bool
no setterinherited
oCounter int
no setterinherited
organized bool
no setterinherited
path String?
no setterinherited
paths ScenePaths
no setterinherited
performerIds List<String>
no setterinherited
performerImagePaths List<String?>
no setterinherited
performerNames List<String>
no setterinherited
playCount int
no setterinherited
rating100 int?
no setterinherited
resumeTime double?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
studioId String?
no setterinherited
studioImagePath String?
no setterinherited
studioName String?
no setterinherited
tagIds List<String>
no setterinherited
tagNames List<String>
no setterinherited
title String
no setterinherited

Methods

map<TResult extends Object?>(TResult $default(_Scene value)) → TResult

Available on Scene, provided by the ScenePatterns extension

A switch-like method, using callbacks.
mapOrNull<TResult extends Object?>(TResult? $default(_Scene value)?) → TResult?

Available on Scene, provided by the ScenePatterns extension

A variant of map that fallback to returning null.
maybeMap<TResult extends Object?>(TResult $default(_Scene value)?, {required TResult orElse()}) → TResult

Available on Scene, provided by the ScenePatterns extension

A variant of map that fallback to returning orElse.
maybeWhen<TResult extends Object?>(TResult $default(String id, String title, String? details, String? path, DateTime date, int? rating100, int oCounter, bool organized, bool interactive, double? resumeTime, int playCount, List<SceneFile> files, ScenePaths paths, String? studioId, String? studioName, String? studioImagePath, List<String> performerIds, List<String> performerNames, List<String?> performerImagePaths, List<String> tagIds, List<String> tagNames)?, {required TResult orElse()}) → TResult

Available on Scene, provided by the ScenePatterns extension

A variant of when that fallback to an orElse callback.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this Scene to a JSON map.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>(TResult $default(String id, String title, String? details, String? path, DateTime date, int? rating100, int oCounter, bool organized, bool interactive, double? resumeTime, int playCount, List<SceneFile> files, ScenePaths paths, String? studioId, String? studioName, String? studioImagePath, List<String> performerIds, List<String> performerNames, List<String?> performerImagePaths, List<String> tagIds, List<String> tagNames)) → TResult

Available on Scene, provided by the ScenePatterns extension

A switch-like method, using callbacks.
whenOrNull<TResult extends Object?>(TResult? $default(String id, String title, String? details, String? path, DateTime date, int? rating100, int oCounter, bool organized, bool interactive, double? resumeTime, int playCount, List<SceneFile> files, ScenePaths paths, String? studioId, String? studioName, String? studioImagePath, List<String> performerIds, List<String> performerNames, List<String?> performerImagePaths, List<String> tagIds, List<String> tagNames)?) → TResult?

Available on Scene, provided by the ScenePatterns extension

A variant of when that fallback to returning null

Operators

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