open method
Opens the offerwall with a validated session token. Errors that happen later (network, expired token) arrive on events.
Throws a PlatformException whose code is a MoonetixErrorCode.wireName
when the offerwall cannot be opened at all.
Implementation
@override
Future<void> open(String token, MoonetixOptions options) {
return channel.invokeMethod<void>(
'open',
<String, Object?>{'token': token, ...options.toMap()},
);
}