nameSymbol property

String? get nameSymbol

Implementation

String? get nameSymbol =>
    name?.isNotEmpty == true ? name![0].toUpperCase() : null;