isType method

bool isType(
  1. String type
)

Implementation

bool isType(String type) => type.toLowerCase() == this.type.toLowerCase();