getPreviousModuleVersion method

Future<String?> getPreviousModuleVersion()

Implementation

Future<String?> getPreviousModuleVersion() async{
  final prevVersion = await database.get(_module.id);
  return prevVersion?.version;
}