resolveMigrationManagerHandle method

  1. @override
Future<String> resolveMigrationManagerHandle({
  1. String? stripeCustomerId,
})
override

Returns the iOS-side handle ID for the migration manager scoped to the currently-identified user and the optional stripeCustomerId. The returned ID is opaque; pass it to MigrationManager.fromHandleId.

Implementation

@override
Future<String> resolveMigrationManagerHandle({String? stripeCustomerId}) async {
  final result = await methodChannel.invokeMethod<String>(
    'resolveMigrationManagerHandle',
    {
      if (stripeCustomerId != null) 'stripeCustomerId': stripeCustomerId,
    },
  );
  return result!;
}