info method

Future<Map<String, dynamic>?> info({
  1. bool showSecrets = false,
})

Returns the most recent stack update summary if one exists.

Implementation

Future<Map<String, dynamic>?> info({bool showSecrets = false}) async {
  final entries = await history(pageSize: 1, showSecrets: showSecrets);
  return entries.isEmpty ? null : entries.first;
}