getInstance static method

Future<Mapped> getInstance()

Once instantiated, Than this return object can be used to quickly store and load data

Implementation

static Future<Mapped> getInstance() async{
  Mapped mapped = Mapped();
  await mapped.setTempDirectory();
  return mapped;
}