toMap method

Map<String, dynamic> toMap()

The platform-channel representation handed to the native bridges.

bridgeShareTokenProvider is intentionally absent — a function can't ride the channel. OctopusSDK.showOctopusCreatePostScreen registers it and passes a requestId instead, so the native editor can request a signature back over the event channel at publish time.

Implementation

Map<String, dynamic> toMap() => <String, dynamic>{
  'prefilledPost': prefilledPost?.toMap(),
};