serialize method
Serializes information the current object
writer Serialization writer to use to serialize this model
Implementation
@override
void serialize(SerializationWriter writer) {
if (string_ != null) {
writer.writeStringValue(null, string_);
} else {
writer.writeObjectValue<SetupAttempt>(null, setupAttempt);
}
}