PhrasePageScrapeResultData class

The main scrape data class, collecting all the result information in one place.

Constructors

PhrasePageScrapeResultData({required String uri, List<String> tags = const [], List<PhraseScrapeMeaning> meanings = const [], List<KanjiKanaPair> otherForms = const [], List<AudioFile> audio = const [], List<String> notes = const []})
const
PhrasePageScrapeResultData.fromJson(Map<String, dynamic> json)
factory

Properties

audio List<AudioFile>
Pronounciation of the search result.
final
hashCode int
The hash code for this object.
no setterinherited
meanings List<PhraseScrapeMeaning>
Information about the meanings associated with this search result.
final
notes List<String>
Notes associated with the search result.
final
otherForms List<KanjiKanaPair>
Tags associated with this search result.
final
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
tags List<String>
Other forms of the search term.
final
uri String
The URI that these results were scraped from.
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.
inherited

Operators

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