validWith method

bool validWith(
  1. String code
)

Implementation

bool validWith(String code) {
  return this.code == code;
}