AsserestTestAssigner class final
A handler for assigning AsserestTestPlatform from AsserestProperty.
Constructors
- AsserestTestAssigner.new()
-
Return current instance of AsserestTestAssigner.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
assign(
Type propertyType, AsserestTestPlatformBuilder platformBuilder, {bool replaceIfAssigned = false}) → void -
Bind
platformBuilder
with corresponsedpropertyType
. -
buildTestPlatform(
AsserestProperty property) → AsserestTestPlatform< AsserestProperty> - Generate AsserestTestPlatform from given property.
-
isAssigned(
Type propertyType) → bool - Check the given AsserestProperty's subclass Type is assigned the builder already.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void - Flush all assigned AsserestTestPlatformBuilder.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited