getFirstIfExist method

T? getFirstIfExist()

Implementation

T? getFirstIfExist() => isNullOrEmpty() ? null : first;