AppVersionData class
An AppVersionData contains information about the latest version of an app on the Google Play Store and Apple App Store.
Constructors
-
AppVersionData({String? playstore, String? appstore, required AppVersionMetadata meta, required List<
PeekanappError> errors}) -
AppVersionData.fromJSON(Map<
String, dynamic> json) -
factory
Properties
- appstore → String?
-
The latest version of the app on the Apple App Store. If the app data
could not be fetched, this will be null.
final
-
errors
→ List<
PeekanappError> -
A list of PeekanappError errors that occurred during the request.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isErrored → bool
-
Returns true if the response contains errors.
no setter
- meta → AppVersionMetadata
-
Metadata containing app store URLs to the apps for convenience.
final
- playstore → String?
-
The latest version of the app on the Google Play Store. If the app data
could not be fetched, this will be null.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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