MethodChannelInAppReview class
An implementation of InAppReviewPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- InAppReviewPlatform
- MethodChannelInAppReview
Constructors
Properties
- channel ← MethodChannel
-
no getter
- hashCode → int
-
The hash code for this object.
no setterinherited
- platform ← Platform
-
no getter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isAvailable(
) → Future< bool> -
Checks if the device is able to show a review dialog.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openStoreListing(
{String? appStoreId, String? microsoftStoreId}) → Future< void> -
Opens the Play Store on Android, the App Store with a review
screen on iOS & MacOS and the Microsoft Store on Windows.
override
-
requestReview(
) → Future< void> -
Attempts to show the review dialog. It's recommended to first check if
this cannot be done via isAvailable. If it is not available then
you can open the store listing via openStoreListing.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited