appScheme top-level property

String get appScheme

Implementation

String get appScheme {
  if (appDeepLinkScheme != null) {
    try {
      final scheme = Uri.parse(appDeepLinkScheme!).scheme;
      if (scheme.isNotEmpty && scheme != 'http' && scheme != 'https') {
        return scheme;
      }
    } catch (_) {}
  }
  return 'studyu-app';
}