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