presentAction method

  1. @override
Future<void> presentAction({
  1. required String id,
  2. required TransactEnvironment environment,
  3. AtomicTheme? theme,
  4. AtomicPresentationStyleIOS? presentationStyleIOS,
})
override

Present the Atomic Action SDK

  • id The 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,
  });
}