collectionName property
collection name FirestoreModel use your Model name
Implementation
@override
String get collectionName {
if (parentPath != null) {
if (parentPath!.contains(subCollectionName)) {
return parentPath!;
}
}
return '$parentPath/$subCollectionName';
}