constructPathForClassAndID static method
Constructs a path for a RDB object based on its type and ID.
Implementation
static String constructPathForClassAndID(final String typeName, String id, {String? subcollection}) {
if (subcollection == null) {
return "$typeName/$id";
}
return "$typeName:$subcollection/$id";
}