isAppLink method
Implementation
bool isAppLink() {
String? scheme;
try {
scheme = Uri.parse(this.url).scheme;
} catch (e) {
scheme = this.appScheme;
}
if (Platform.isAndroid && this.appScheme == 'https') {
if (this
.url
.startsWith('https://play.google.com/store/apps/details?id=')) {
return true;
}
}
return !['http', 'https', 'about', 'data', ''].contains(scheme);
}