name property

String get name

Implementation

String get name {
  if (this == TWGridRows.auto) {
    return 'auto';
  } else if (this == TWGridRows.spanFull) {
    return 'span-full';
  } else {
    final spanNumber =
        toString().split('.').last.substring(4); // remove 'span' prefix
    return 'span-$spanNumber';
  }
}