id property

ValueNotifier<int?> id
final

The id of the player. It's null before the player is initialized. After the player is initialized it will be unique and never change again.

Implementation

final id = ValueNotifier<int?>(null);