initData method
Implementation
@override
initData(dynamic data) {
if (data is! List<dynamic>) {
throw InvalidMessageException(
'tried to update the collection $rid with ${data.runtimeType}', data);
}
_items.clear();
_items.addAll(
data.map((value) => _client.parseValue(value, addIndirect: true)));
}