idsAsInt property

List<int?> idsAsInt

Returns the ids with type int or null. See idsNotNullAs.

Implementation

List<int?> get idsAsInt =>
    ids?.map((e) => e is int ? e : null).toList() ?? [];