Performer class abstract

Available extensions
Annotations

Constructors

Performer({required String id, required String name, String? disambiguation, required List<String> urls, String? gender, required String? birthdate, String? ethnicity, String? country, @JsonKey(name: 'eye_color') String? eyeColor, @JsonKey(name: 'height_cm') int? heightCm, String? measurements, @JsonKey(name: 'fake_tits') String? fakeTits, @JsonKey(name: 'penis_length') double? penisLength, String? circumcised, @JsonKey(name: 'career_start') String? careerStart, @JsonKey(name: 'career_end') String? careerEnd, String? tattoos, String? piercings, @JsonKey(name: 'alias_list') required List<String> aliasList, required bool favorite, @JsonKey(name: 'image_path') required String? imagePath, @JsonKey(name: 'scene_count') required int sceneCount, @JsonKey(name: 'image_count') required int imageCount, @JsonKey(name: 'gallery_count') required int galleryCount, @JsonKey(name: 'group_count') required int groupCount, int? rating100, String? details, @JsonKey(name: 'death_date') String? deathDate, @JsonKey(name: 'hair_color') String? hairColor, int? weight, @JsonKey(name: 'tag_ids') required List<String> tagIds, @JsonKey(name: 'tag_names') required List<String> tagNames})
const
factory
Performer.fromJson(Map<String, dynamic> json)
factory

Properties

aliasList List<String>
no setterinherited
birthdate String?
no setterinherited
careerEnd String?
no setterinherited
careerStart String?
no setterinherited
circumcised String?
no setterinherited
copyWith → $PerformerCopyWith<Performer>
Create a copy of Performer with the given fields replaced by the non-null parameter values.
no setterinherited
country String?
no setterinherited
deathDate String?
no setterinherited
details String?
no setterinherited
disambiguation String?
no setterinherited
ethnicity String?
no setterinherited
eyeColor String?
no setterinherited
fakeTits String?
no setterinherited
favorite bool
no setterinherited
galleryCount int
no setterinherited
gender String?
no setterinherited
groupCount int
no setterinherited
hairColor String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
heightCm int?
no setterinherited
id String
no setterinherited
imageCount int
no setterinherited
imagePath String?
no setterinherited
measurements String?
no setterinherited
name String
no setterinherited
penisLength double?
no setterinherited
piercings String?
no setterinherited
rating100 int?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sceneCount int
no setterinherited
tagIds List<String>
no setterinherited
tagNames List<String>
no setterinherited
tattoos String?
no setterinherited
urls List<String>
no setterinherited
weight int?
no setterinherited

Methods

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

Available on Performer, provided by the PerformerPatterns extension

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

Available on Performer, provided by the PerformerPatterns extension

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

Available on Performer, provided by the PerformerPatterns extension

A variant of map that fallback to returning orElse.
maybeWhen<TResult extends Object?>(TResult $default(String id, String name, String? disambiguation, List<String> urls, String? gender, String? birthdate, String? ethnicity, String? country, String? eyeColor, int? heightCm, String? measurements, String? fakeTits, double? penisLength, String? circumcised, String? careerStart, String? careerEnd, String? tattoos, String? piercings, List<String> aliasList, bool favorite, String? imagePath, int sceneCount, int imageCount, int galleryCount, int groupCount, int? rating100, String? details, String? deathDate, String? hairColor, int? weight, List<String> tagIds, List<String> tagNames)?, {required TResult orElse()}) → TResult

Available on Performer, provided by the PerformerPatterns 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 Performer to a JSON map.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>(TResult $default(String id, String name, String? disambiguation, List<String> urls, String? gender, String? birthdate, String? ethnicity, String? country, String? eyeColor, int? heightCm, String? measurements, String? fakeTits, double? penisLength, String? circumcised, String? careerStart, String? careerEnd, String? tattoos, String? piercings, List<String> aliasList, bool favorite, String? imagePath, int sceneCount, int imageCount, int galleryCount, int groupCount, int? rating100, String? details, String? deathDate, String? hairColor, int? weight, List<String> tagIds, List<String> tagNames)) → TResult

Available on Performer, provided by the PerformerPatterns extension

A switch-like method, using callbacks.
whenOrNull<TResult extends Object?>(TResult? $default(String id, String name, String? disambiguation, List<String> urls, String? gender, String? birthdate, String? ethnicity, String? country, String? eyeColor, int? heightCm, String? measurements, String? fakeTits, double? penisLength, String? circumcised, String? careerStart, String? careerEnd, String? tattoos, String? piercings, List<String> aliasList, bool favorite, String? imagePath, int sceneCount, int imageCount, int galleryCount, int groupCount, int? rating100, String? details, String? deathDate, String? hairColor, int? weight, List<String> tagIds, List<String> tagNames)?) → TResult?

Available on Performer, provided by the PerformerPatterns extension

A variant of when that fallback to returning null

Operators

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