instance static method
Loads the DistributionInitResult instance from the dist file.
Returns null if the dist file does not exist or cannot be parsed.
Implementation
static DistributionInitResult? instance() {
final dist = File("dist");
if (!dist.existsSync()) return null;
try {
return DistributionInitResult.fromJson(
jsonDecode(dist.readAsStringSync()));
} catch (_) {}
return null;
}