equalsByCode method

bool equalsByCode(
  1. int code
)

Returns true if this code equals to passed code, otherwise false.

Implementation

bool equalsByCode(final int code) => this.code == code;