SongRecommendation class Null safety
- Implemented types
- Annotations
Constructors
- SongRecommendation({@JsonKey(name: 'musicId') required String pandoraId, @JsonKey(name: 'autoplaySourceId') String? autoplaySourceId, @JsonKey(name: 'token') required String token, @JsonKey(name: 'songRating') @Default(MediaRating.none) MediaRating songRating})
-
constfactory
-
SongRecommendation.fromJson(Map<
String, dynamic> json) -
factory
Properties
- autoplaySourceId → String?
-
read-onlyinherited
-
copyWith
→ $SongRecommendationCopyWith<
SongRecommendation> -
read-onlyinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- pandoraId → String
-
read-onlyinherited
- pandoraType → PandoraType
-
read-onlyoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- songRating → MediaRating
-
read-onlyinherited
- token → String
-
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited