setTarget method
Implementation
void setTarget(String target) {
if (target == _state.target) return;
_emit(
_state.copyWith(
target: target,
snapshot: null,
snapshotSet: true,
status: ViewStatus.idle,
issues: const <ValidationIssue>[],
lastUpdated: null,
lastUpdatedSet: true,
),
);
_retryStep = 0;
_init();
}