getFirstIfExist method

T? getFirstIfExist()

Implementation

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