PersonalSuggestListener constructor
PersonalSuggestListener({
- required void onPersonalSuggestSuccess(),
- required void onPersonalSuggestError(
- Error error
Implementation
factory PersonalSuggestListener(
{required void Function() onPersonalSuggestSuccess,
required void Function(runtime_error.Error error)
onPersonalSuggestError}) {
return PersonalSuggestListenerImpl(
onPersonalSuggestSuccess: onPersonalSuggestSuccess,
onPersonalSuggestError: onPersonalSuggestError,
);
}