CobiFlutterShare class
The main class for receiving shared data
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
This Stream is a broadcast stream that informs you about incoming shared data.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
- This method adds a share target defined with ShareTarget The returned future resolves to false if the target could not be added. To update an existing share target, re-add it with the same ShareTarget.id.
- This adds multiple share targets in one go. The returned future resolves to false if the target could not be added. To update an existing share target, re-add it with the same ShareTarget.id.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
- This removes all share targets. It does not remove the general share target for the app. If anything goes wrong when removing them the returned future resolves to false.
-
This removes the share target identified by
id
. If anything goes wrong when removing it the returned future resolves to false. -
This removes the share targets identified by
ids
. If anything goes wrong when removing any of the targets the returned future resolves to false. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → CobiFlutterShare
-
This returns a singleton that controls share targets and received shared data
no setter