String cut([int maxLength = 10, bool withDots = true]) => this == null ? value : count < maxLength ? value : '${this?.substring(0, maxLength)}${withDots ? '...' : ''}';