pascalName property

String pascalName

Returns the name of the field using a Pascal Case

Implementation

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