maxSessionUse property
The maximum duration a connection is used by sessions. New sessions won't be scheduled after this limit is reached.
Implementation
Duration maxSessionUse = Duration(hours: 8);
The maximum duration a connection is used by sessions. New sessions won't be scheduled after this limit is reached.
Duration maxSessionUse = Duration(hours: 8);