presentAction method
Future<void>
presentAction({
- required String id,
- required TransactEnvironment environment,
- AtomicTheme? theme,
- AtomicPresentationStyleIOS? presentationStyleIOS,
override
Present the Atomic Action SDK
idThe id of the action to present
Implementation
@override
Future<void> presentAction({
required String id,
required TransactEnvironment environment,
AtomicTheme? theme,
AtomicPresentationStyleIOS? presentationStyleIOS,
}) async {
await _channel.invokeMethod('presentAction', {
'id': id,
'transactPath': environment.transactPath,
'apiPath': environment.apiPath,
'theme': theme?.toJson(),
'presentationStyleIOS': presentationStyleIOS?.name,
});
}