idsAs<I> method
Returns the ids with type I
or null.
See idsNotNullAs.
Implementation
List<I?> idsAs<I>() => ids?.map((e) => e is I ? e : null).toList() ?? [];
Returns the ids with type I
or null.
See idsNotNullAs.
List<I?> idsAs<I>() => ids?.map((e) => e is I ? e : null).toList() ?? [];