upgradeInfo method

  1. @override
Future<Map?> upgradeInfo({
  1. required String oldSku,
  2. required String skuDetailJson,
  3. int? prorationMode,
})
override

Implementation

@override
Future<Map<dynamic, dynamic>?> upgradeInfo(
    {required String oldSku,
    required String skuDetailJson,
    int? prorationMode}) async {
  return await methodChannel.invokeMethod<Map<dynamic, dynamic>>(
      'upgradeInfo', {
    'skuDetailJson': skuDetailJson,
    'oldSku': oldSku,
    'prorationMode': prorationMode
  });
}