key property

  1. @override
String key
override

The JSON key for this attribute.

Implementation

@override
String get key {
  if (isCustom) {
    return _key.startsWith(customPrefix) ? _key : '$customPrefix$_key';
  }
  return _key;
}