ActionSuccessCallback typedef
ActionSuccessCallback =
void Function(BuildContext context, Object? result)
Called when an action succeeds, with what the action returned.
Implementation
typedef ActionSuccessCallback = void Function(
BuildContext context,
Object? result,
);