SearchResult class

Data class for Search Results

Constructors

SearchResult({required String title, required String artists, required String videoId, String? duration, String? year, String? albumArt, String? audioUrl})
SearchResult.fromMap(Map<String, dynamic> map)
factory

Properties

albumArt String?
final
artists String
final
audioUrl String?
final
duration String?
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
final
videoId String
final
year String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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