removeFirstOrNull method

E? removeFirstOrNull()

移除首个元素,兼容异常情况

Implementation

E? removeFirstOrNull() => length > 0 ? removeAt(0) : null;