PersonalSuggestListener constructor

PersonalSuggestListener({
  1. required void onPersonalSuggestSuccess(),
  2. required void onPersonalSuggestError(
    1. Error error
    ),
})

Implementation

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