title property

String get title

Knob node title name getter.

Implementation

String get title {
  final parts = key.split('/');

  if (parts.length > 1) {
    return parts.last;
  }

  return key;
}