track method

  1. @override
Future<bool?> track({
  1. required String eventName,
  2. Map<String, dynamic>? properties,
})
override

Implementation

@override
Future<bool?> track({
  required String eventName,
  Map<String, dynamic>? properties,
}) {
  return methodChannel.invokeMethod(
    'track',
    {
      'eventName': eventName,
      if (properties != null) 'properties': properties,
    },
  );
}