toString method
Returns a String representation of this Dimensions object in the form:
'Dimensions [<type>=<value>; <type2>=<value2> ... ]'
Implementation
@override
String toString() {
final buffer = (StringBuffer())..write(' Dimensions [');
var first = true;
for (final t in _dimensionMap.keys) {
if (!first) {
buffer.write('; ');
} else {
first = false;
}
buffer.write('$t=${_dimensionMap[t]}');
}
buffer.write(']');
return buffer.toString();
}