subInterests method Null safety

BuiltSet<LocalizedType<Interest>> subInterests()

Implementation

BuiltSet<LocalizedType<Interest>> subInterests() => subInterestIds
    .map((id) => InterestStorage.allInterests[id])
    .whereNotNull()
    .toBuiltSet();