hasStatus method

bool hasStatus(
  1. int code
)

Implementation

bool hasStatus(int code) => status == code;