addCaveat method

void addCaveat(
  1. GeneratedMessage caveat
)

Appends a caveat to the cork's Cork.caveats.

Implementation

void addCaveat(GeneratedMessage caveat) {
  _caveats.add(caveat.packIntoAny());
}