VectorsdbCollectionList.fromMap constructor

VectorsdbCollectionList.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory VectorsdbCollectionList.fromMap(
  Map<String, dynamic> map,
) {
  return VectorsdbCollectionList(
    total: map['total'],
    collections: List<VectorsdbCollection>.from(
      map['collections'].map((p) => VectorsdbCollection.fromMap(p)),
    ),
  );
}