ProfileNameViewModel constructor

ProfileNameViewModel({
  1. IProfileDataStore? profileDataStore,
  2. IProfileRepo? profileRepo,
  3. required OnAfterProfileSaved onAfterProfileSaved,
})

Implementation

ProfileNameViewModel({
  IProfileDataStore? profileDataStore,
  IProfileRepo? profileRepo,
  required this.onAfterProfileSaved,
}) {
  this.profileDataStore = profileDataStore ?? getObject<IProfileDataStore>();
  this.profileRepo = profileRepo ?? getObject<IProfileRepo>();
}