getIndex method

Future<Idex?> getIndex(
  1. String classId
)

load index info

Implementation

Future<Idex?> getIndex(String classId)async{
  final doc=await fStore.doc("${consts.classCol}/$classId").get();
  if(!doc.exists)return null;
  return Idex.fromDoc(doc);
}