infoSummary method

Future<AutomationUpdateSummary?> infoSummary({
  1. bool showSecrets = false,
})

Returns the most recent stack update summary as a typed model.

Implementation

Future<AutomationUpdateSummary?> infoSummary({
  bool showSecrets = false,
}) async {
  final latest = await info(showSecrets: showSecrets);
  if (latest == null) {
    return null;
  }
  return AutomationUpdateSummary.fromJson(latest);
}