id property

  1. @override
String id
final

id is used to uniquely identify multiple instances of the same HydratedStateNotifier type. In most cases it is not necessary; however, if you wish to intentionally have multiple instances of the same HydratedStateNotifier, then you must override id and return a unique identifier for each HydratedStateNotifier instance in order to keep the caches independent of each other.

Implementation

@override
final String id;