06/21/2022, 8:11 AM
Destructuring declaration initializer of type Array<String?> must have a 'component6()' function in Kotlin I am having one issue in Destructuring in kotlin. I am doing one functionality in A/B Testing. Previously this was in if-else case and that time it works fine. Now moved it to Kotlin file and when i am trying to add 6th params(need to add more params) I am getting the error "Destructuring declaration initializer of type Array must have a 'component6()' function". I am pasting my code here, Could anyone please help me to resolve this error. class SampleRepository( private val...