removeFirstOrNull method

T? removeFirstOrNull()

Implementation

T? removeFirstOrNull() {
  if (isNullOrEmpty()) return null;
  return this!.removeAt(0);
}