hasDimension method

bool hasDimension()

Implementation

bool hasDimension() => width != null || height != null;