firstName method

String firstName()

Implementation

String firstName() => isNotEmpty ? (split(' ').firstOrNull ?? '') : '';