formulaStatus method

Future<List<FormulaStatusReport>> formulaStatus(
  1. String id, {
  2. List<String> only = const [],
})

What state each of a node's formulas is in, asked of the node.

Distinct from formulas, which is the Hub's catalogue of what a node could run. Empty only asks about everything the node carries.

Implementation

Future<List<FormulaStatusReport>> formulaStatus(
  String id, {
  List<String> only = const [],
}) async => _list(
  await get(
    _query('/nodes/$id/formulas', {
      if (only.isNotEmpty) 'formulas': [only.join(',')],
    }),
  ),
  FormulaStatusReport.fromJson,
);