It will fallback to a default value (the third argument to data_get) more elegantly than the traditional object syntax. If fromEmployee was null, or a non-object, then the object operator syntax would not work.
Since PHP 7, we have the null coalescing operator (??), and now since PHP 8 we have null-safe object operator (?->), which means data_get is less useful. Either of the following would be acceptable depending on your PHP version:
$notification->fromEmployee->slack_access_token ?? ''
// or
$notification?->fromEmployee?->slack_access_token