action method

Future action(
  1. OmiAction action
)

Implementation

Future<dynamic> action(OmiAction action) async {
  final response = await _methodChannel.invokeMethod<dynamic>(
    'action',
    action.toJson(),
  );
  return response;
}