removeSafeAt method

T? removeSafeAt(
  1. int index
)

删除指定元素

Implementation

T? removeSafeAt(int index) {
  if (isNullOrEmpty) return null;
  if (index < 0 || index >= this!.length) return null;
  return this!.removeAt(index);
}