idsNotNullAs<I> method

List<I> idsNotNullAs<I>()

Returns the ids with type I. See idsAs.

Implementation

List<I> idsNotNullAs<I>() => ids?.whereType<I>().toList() ?? [];