reportShare method

  1. @override
Future<String?> reportShare(
  1. String shareCode,
  2. String sharePlatform
)
override

Implementation

@override
Future<String?> reportShare(String shareCode, String sharePlatform) async {
  var result = await methodChannel.invokeMethod<String>('reportShare',
      {"shareCode": shareCode, "sharePlatform": sharePlatform});

   if (kDebugMode) {
    print("reportShare===$result");
  }
  return result;
}