consent method

bool consent(
  1. String name
)

Implementation

bool consent(String name) => values[name] == true;