Assertion class

Represents an assertion upon a SQL query which is required return zero rows.

Constructors

Assertion({List<Target>? dependencyTargets, bool? disabled, Target? parentAction, RelationDescriptor? relationDescriptor, String? selectQuery, List<String>? tags})
Assertion.fromJson(Map json_)

Properties

dependencyTargets List<Target>?
A list of actions that this action depends on.
getter/setter pair
disabled bool?
Whether this action is disabled (i.e. should not be run).
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
parentAction Target?
The parent action of this assertion.
getter/setter pair
relationDescriptor RelationDescriptor?
Descriptor for the assertion's automatically-generated view and its columns.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectQuery String?
The SELECT query which must return zero rows in order for this assertion to succeed.
getter/setter pair
tags List<String>?
Arbitrary, user-defined tags on this action.
getter/setter pair

Methods

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

Operators

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