effectiveSplitDebugInfo property

String? get effectiveSplitDebugInfo

The split-debug-info directory actually passed to flutter build.

Flutter rejects --obfuscate unless it is combined with --split-debug-info, so a default is substituted rather than letting the build fail with a usage error.

Implementation

String? get effectiveSplitDebugInfo {
  if (splitDebugInfo != null && splitDebugInfo!.isNotEmpty) {
    return splitDebugInfo;
  }
  return obfuscate == true ? _defaultSplitDebugInfo : null;
}