PowerOptimizationSuggestion class

Suggested optimization based on power state analysis.

Constructors

PowerOptimizationSuggestion({required OptimizationSuggestionLevel level, required String reason, required bool canUseHighAccuracy, required bool canUseCellular, required double suggestedHeartbeatMultiplier})
Creates an optimization suggestion.
const

Properties

canUseCellular → bool
Whether cellular sync is recommended.
final
canUseHighAccuracy → bool
Whether high accuracy GPS is recommended.
final
hashCode → int
The hash code for this object.
no setterinherited
level → OptimizationSuggestionLevel
Suggested optimization level.
final
reason → String
Reason for this suggestion.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
suggestedHeartbeatMultiplier → double
Multiplier for heartbeat interval.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → JsonMap
Converts to a JSON-serializable map.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited