Map<String, dynamic> toMap() { return TaskResourceSearchModelMapper.ensureInitialized() .encodeMap<TaskResourceSearchModel>(this as TaskResourceSearchModel); }