hasInput method

bool hasInput({
  1. String? kind,
  2. String? summary,
})

Implementation

bool hasInput({String? kind, String? summary}) {
  return inputs.any(
    (input) =>
        (kind == null || input['kind'] == kind) &&
        (summary == null || input['summary'] == summary),
  );
}