fromDynamic static method
Creates an instance from a JSON-like map structure. This expects the following format:
{
"testableId": <String>,
"whenFalse": <TestStep>,
"whenTrue": <TestStep>
}
See also:
TestStep.fromDynamic
Implementation
static ConditionalWidgetExistsStep? fromDynamic(dynamic map) {
ConditionalWidgetExistsStep? result;
if (map != null) {
result = ConditionalWidgetExistsStep(
testableId: map['testableId'],
whenFalse: map['whenFalse'],
whenTrue: map['whenTrue'],
);
}
return result;
}