Selection.fromJson constructor
Implementation
factory Selection.fromJson(Map<String, dynamic> json) {
return Selection(
selectedIndex: json['selectedIndex'],
list: json['list'] != null
? (json['list'] as List).map((e) => Select.fromJson(e)).toList()
: null,
);
}