formatBinstubSdkMismatch function
The warning for mismatch, or null when there is none.
Implementation
String? formatBinstubSdkMismatch(BinstubSdkMismatch? mismatch) => mismatch == null
? null
: "WARNING: fdb was activated with Dart ${mismatch.activated} but 'dart' on PATH is ${mismatch.running}; "
'that causes the "Can\'t load Kernel binary" line above. '
"Fix: run 'dart pub global activate fdb' with the Dart you use.";