capitalizeFirstOfEach property

String get capitalizeFirstOfEach

Capitalize first letter of each word

Implementation

String get capitalizeFirstOfEach =>
    split(' ').map<dynamic>((str) => str.inCapFirst).join(' ');