CreatePostScreenInfo class
Info needed to open the Octopus post editor as an SDK entry point (Bridge Share).
When prefilledPost is null, the editor opens empty — equivalent to the
regular in-SDK new-post flow. When non-null, the editor opens prefilled with
the provided text / image / group / CTA.
Mirrors the native CreatePostScreenInfo (a top-level type on Android; the
OctopusInitialScreen.CreatePostScreenInfo nested type on iOS).
- Annotations
Constructors
- CreatePostScreenInfo({OctopusPrefilledPost? prefilledPost, })
-
Creates the create-post-screen entry info.
const
Properties
-
Optional callback that signs this prefilled share so the server accepts
its image in a community configured to forbid member pictures.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- prefilledPost → OctopusPrefilledPost?
-
The prefill payload, or
nullfor an empty editor.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - The platform-channel representation handed to the native bridges.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override