trackGoal method

Future<String> trackGoal({
  1. required int goal,
  2. double? revenue,
})

Implementation

Future<String> trackGoal({required int goal, double? revenue}) async {
  var arguments = <String, dynamic>{};
  arguments['goal'] = goal;
  arguments['revenue'] = revenue;

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