pascalName property

String pascalName

Returns the name of the field using a Pascal Case

Implementation

String get pascalName {
  if (displayName == '') {
    return displayName;
  }
  return '${displayName.substring(0, 1).toUpperCase()}${displayName.substring(1)}';
}