SetupAttemptOrId.fromJson constructor
SetupAttemptOrId.fromJson(
- Object? json
Implementation
factory SetupAttemptOrId.fromJson(Object? json) {
if (json is String) {
return SetupAttemptId(id: json);
}
return SetupAttempt.fromJson(json);
}