capitalized property

String capitalized

from 'foo' to 'Foo'

Implementation

String get capitalized => this[0].toUpperCase() + substring(1);