FlutterPollfish class

Constructors

FlutterPollfish.private(MethodChannel channel)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getSurveyInfoFromMap(dynamic map) SurveyInfo?
hide() Future<void>
init({required String? androidApiKey, required String? iosApiKey, Position indicatorPosition = Position.topLeft, int indicatorPadding = 8, bool rewardMode = false, bool releaseMode = false, bool offerwallMode = false, String? requestUUID, Map<String, dynamic>? userProperties, String? clickId, String? userId, String? signature, String? placementId, RewardInfo? rewardInfo}) Future<void>
isPollfishPanelOpen() Future<bool>
isPollfishPresent() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListeners() → void
setPollfishClosedListener(PollfishClosedListener pollfishSurveyClosedListener) → void
setPollfishOpenedListener(PollfishOpenedListener pollfishSurveyOpenedListener) → void
setPollfishSurveyCompletedListener(PollfishSurveyCompletedListener pollfishCompletedSurveyListener) → void
setPollfishSurveyNotAvailableListener(PollfishSurveyNotAvailableListener pollfishSurveyNotAvailableListener) → void
setPollfishSurveyReceivedListener(PollfishSurveyReceivedListener pollfishReceivedSurveyListener) → void
setPollfishUserNotEligibleListener(PollfishUserNotEligibleListener pollfishUserNotEligibleListener) → void
setPollfishUserRejectedSurveyListener(PollfishUserRejectedSurveyListener pollfishUserRejectedSurveyListener) → void
show() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance FlutterPollfish
The single shared instance of this plugin.
no setter