A value of type 'List' can't be assigned to a variable of type 'RxList'. Try changing the type of the variable, or casting the right-hand type to 'RxList'.
1 Answer
List initial = [];
RxList data= RxList(initial);
use like this
List<clientModal> clientmodal = [] ;
RxList<clientModal> data = RxList(initial as List<clientModal> );
-
1