value property

String get value

Implementation

String get value {
  final exp = RegExp('(?<=[a-z])[A-Z]');
  return name.replaceAllMapped(exp, (m) => '_${m.group(0)}').toLowerCase();
}