requestReviewDelayed static method Null safety

Future<Timer> requestReviewDelayed(
  1. [Duration? duration]
)

Request review.

Tells StoreKit to ask the user to rate or review your app, if appropriate. Supported only in iOS 10.3+ and Android with Play Services installed (see isRequestReviewAvailable).

Returns string with details message.

Implementation

static Future<Timer> requestReviewDelayed([Duration? duration]) async =>
    Timer(duration ?? kDefaultDuration, () => requestReview);