Snapshot class
Properties
Methods
-
getSnapshotData(
) → dynamic -
matchesSnapshot(
Snapshot newSnapshot) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
SnapshotTestOptions opts, {bool? asNew}) → Future< bool> -
saveImage(
SnapshotTestOptions opts, List< int> img, {bool? asNew}) → Future<bool> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
asIntList(
List list) → List< int> -
getExtenstion(
SnapshotType type) → String -
getFileName(
String id, SnapshotType type) → String -
getImgFileName(
String id) → String -
getNewFileName(
String id, SnapshotType type) → String -
getNewImgFileName(
String id) → String -
getSnapshotFile(
String filename, SnapshotTestOptions opts) → Future< File> -
getSnapshotFromDriver(
String id, SnapshotType type, FlutterDriver driver, List< RegExp> ? removeExps) → Future<Snapshot?> -
getSnapshotFromFile(
String id, SnapshotType type, SnapshotTestOptions options) → Future< Snapshot?>