textCase property
textCase It help you to get a name with specificing his case, you have tow cases one is the lowar => max the second is upper MAX also you have the default one without passing anythink => Max.
Implementation
final TextCase? textCase;