HcPlayStoreSearchAPI class

Available extensions

Constructors

HcPlayStoreSearchAPI.new({Client? client})

Properties

client → Client?
Provide an HTTP Client that can be replaced for mock testing.
final
debugLogging bool
Enable print statements for debugging.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
playStorePrefixURL String
Play Store Search Api URL
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

description(Document response) String?

Available on HcPlayStoreSearchAPI, provided by the PlayStoreResults extension

Return field description from Play Store results.
lookupById(String id, {String? country = 'US', String? language = 'en', bool useCacheBuster = true}) Future<Document?>
Look up by id.
lookupURLById(String id, {String? country = 'US', String? language = 'en', bool useCacheBuster = true}) String?
minAppVersion(Document response, {String tagRegExpSource = r'\[\Minimum supported app version\:[\s]*(?<version>[^\s]+)[\s]*\]'}) → Version?

Available on HcPlayStoreSearchAPI, provided by the PlayStoreResults extension

Return the minimum app version taken from a tag in the description field from the store response. The tagRegExpSource is used to represent the format of a tag using a regular expression. The format in the description by default is like this: [Minimum supported app version: 1.2.3], which returns the version 1.2.3. If there is no match, it returns null.
multilineReleaseNotes(Element rawReleaseNotes) String?

Available on HcPlayStoreSearchAPI, provided by the PlayStoreResults extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
redesignedDescription(Document response) String?

Available on HcPlayStoreSearchAPI, provided by the PlayStoreResults extension

Return field description from Redesigned Play Store results.
redesignedReleaseNotes(Document response) String?

Available on HcPlayStoreSearchAPI, provided by the PlayStoreResults extension

Returns field releaseNotes from Redesigned Play Store results. When there are no release notes, the main app description is used.
redesignedVersion(Document response) String?

Available on HcPlayStoreSearchAPI, provided by the PlayStoreResults extension

Return field version from Redesigned Play Store results.
releaseNotes(Document response) String?

Available on HcPlayStoreSearchAPI, provided by the PlayStoreResults extension

Returns field releaseNotes from Play Store results. When there are no release notes, the main app description is used.
toString() String
A string representation of this object.
inherited
version(Document response) String?

Available on HcPlayStoreSearchAPI, provided by the PlayStoreResults extension

Return field version from Play Store results.

Operators

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