toAbstractFilterUserDto method
AbstractFilterDto<UserDto>
toAbstractFilterUserDto()
Implementation
api.AbstractFilterDto<api.UserDto> toAbstractFilterUserDto() {
if (this is ComplementFilter<User>) {
return (this as ComplementFilter<User>).toComplementFilterDto();
}
if (this is UnionFilter<User>) {
return (this as UnionFilter<User>).toUnionFilterDto();
}
if (this is IntersectionFilter<User>) {
return (this as IntersectionFilter<User>).toIntersectionFilterDto();
}
if (this is AllUsersFilter) {
return (this as AllUsersFilter).toAllUsersFilterDto();
}
if (this is UserByIdsFilter) {
return (this as UserByIdsFilter).toUserByIdsFilterDto();
}
throw FormatException("No mapper for ${this}");
}