PushPlatformMixin mixin
- Implemented types
- Mixin applications
Properties
- convertMessage ↔ MessageConverter?
-
getter/setter pair
- currToken ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
messages
→ Stream<
SourcedPushMessage> -
no setteroverride
-
pushTokens
→ Stream<
String?> -
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancel(
) → Future -
inherited
-
closePushStreams(
) → Future -
extractMessage(
Map< String, dynamic> input) → PushMessageContent - Loads push message from fcm payload.
-
getToken(
{bool force = false}) → Future< String?> -
override
-
initialize(
MessageConverter messageConverter) → Future -
inherited
-
internalGetToken(
) → Future< String?> -
newMessage(
PushSource source, PushMessageContent content) → void -
newPushToken(
String? token) → bool -
newRawMessage(
PushSource source, Map< String, dynamic> content) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerDisposer(
FutureOr dispose()) → void -
inherited
-
removeDisposer(
FutureOr dispose()) → void -
inherited
-
requestPermissions(
) → Future -
inherited
-
subscribe(
BuildContext context, {bool configureBackground = false}) → Future -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited