asInstanceList<R extends Object<R> > method
Implementation
List<R> asInstanceList<R extends object.Object<R>>([String? id]) {
try {
final data = this as dynamic;
if (data == null) return [];
return ObjectManager().listObjectFromComplexType<R>(
data ?? [],
id ?? '',
);
} catch (e) {
printDebug('Error on getListOfInstances $runtimeType');
printDebug(e);
return [];
}
}