completed method

List<T> completed()

Implementation

List<T> completed() {
  if (this == null) return [];
  return <T>[...this!.whereType<T>()];
}