BaseItemPerson class
- Available extensions
- Annotations
-
- @CopyWith.new()
- @JsonSerializable.new(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)
Constructors
- BaseItemPerson({String? name, String? id, String? role, PersonKind? type = PersonKind.unknown, String? primaryImageTag, BaseItemPersonImageBlurHashes? imageBlurHashes})
- Returns a new BaseItemPerson instance.
-
BaseItemPerson.fromJson(Map<
String, dynamic> json) -
factory
Properties
- copyWith → _$BaseItemPersonCWProxy
-
Available on BaseItemPerson, provided by the $BaseItemPersonCopyWith extension
Returns a callable class used to build a new instance with modified fields. Example:instanceOfBaseItemPerson.copyWith(...)orinstanceOfBaseItemPerson.copyWith.fieldName(...).no setter - hashCode → int
-
The hash code for this object.
no setteroverride
- id → String?
-
Gets or sets the identifier.
final
- imageBlurHashes → BaseItemPersonImageBlurHashes?
-
final
- name → String?
-
Gets or sets the name.
final
- primaryImageTag → String?
-
Gets or sets the primary image tag.
final
- role → String?
-
Gets or sets the role.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → PersonKind?
-
The person kind.
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 ==(
Object other) → bool -
The equality operator.
override