```dart
final userProfile = AWSPinpointUserProfile(
  userAttributes: {
    'hobbies': ['cooking', 'knitting']
  },
);

await Amplify.Notifications.Push.identifyUser(
  userId: userId,
  userProfile: userProfile,
);
```
