trackInstall method

  1. @override
Future<LinkTrailAttribution> trackInstall({
  1. required bool force,
})
override

Implementation

@override
Future<LinkTrailAttribution> trackInstall({required bool force}) async {
  try {
    final map = await methodChannel.invokeMapMethod<Object?, Object?>('trackInstall', {
      'force': force,
    });
    return LinkTrailAttribution.fromMap(map!);
  } on PlatformException catch (e) {
    throw LinkTrailException.fromPlatformException(e);
  }
}