Future<bool> isAppleAccountLinked() { if (Platform.isIOS) { return SquareMobilePaymentsSdkPlatform.instance.isAppleAccountLinked(); } return Future.error(_notSupportedError()); }