getGuestUser method

Future<Map?> getGuestUser()

Implementation

Future<Map?> getGuestUser() async {
  final action = OmiAction(
    actionName: OmiActionName.GET_GUEST_USER,
    data: {},
  );
  final result = await _controller.action(action);
  if (result != null) {
    return result as Map;
  }
  return null;
}