trackContentInteraction method

Future<String> trackContentInteraction({
  1. required String contentName,
  2. required String contentInteraction,
  3. String? piece,
  4. String? target,
})

Implementation

Future<String> trackContentInteraction({
  required String contentName,
  required String contentInteraction,
  String? piece,
  String? target,
}) async {
  var arguments = <String, dynamic>{};
  arguments['contentName'] = contentName;
  arguments['contentInteraction'] = contentInteraction;
  arguments['piece'] = piece;
  arguments['target'] = target;

  final result = await _channel.invokeMethod(trackContentInteractionName, arguments);
  return result;
}