class RetailerModel: BaseResponse {
var customFields = List<CustomFieldsModel>()
}
class CustomFieldsModel: BaseResponse {
@objc dynamic var params : ParamsModel?
}
class ParamsModel: BaseResponse {
var options = List<String>()
}
I'm using realm to get data and RetailerModel has an object of CustomFieldsModel and CustomFieldsModel has an object of ParamsModel and ParamsModel contains the array on which i want filter my RetailerModel data
this is array from json that ParamsModel contains "options": ["custom", "Towers"]
what I want is just a List of all RetailerModel that have the option "custom"