SnapshotValidationResult class

Result of snapshot validation.

Contains information about whether a snapshot is valid and can be restored, along with any errors or warnings that were found during validation.

Constructors

SnapshotValidationResult({required bool isValid, List<String> errors = const [], List<String> warnings = const []})
Creates a validation result.
const

Properties

errors List<String>
List of error messages that prevent the snapshot from being restored.
final
hashCode int
The hash code for this object.
no setterinherited
isValid bool
Whether the snapshot is valid and can be restored.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
warnings List<String>
List of warning messages that don't prevent restoration but should be noted.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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