LocusError.timeout constructor
- Duration? timeout,
Location acquisition timeout.
Implementation
factory LocusError.timeout({Duration? timeout}) => LocusError(
type: LocusErrorType.locationTimeout,
message: 'Location request timed out',
isRecoverable: true,
suggestedRecovery: RecoveryAction.retry,
details: timeout != null ? {'timeoutMs': timeout.inMilliseconds} : null,
);