decode method
Implementation
void decode(KeyedArchive object) {
super.decode(object);
title = object.decode("title");
description = object.decode("description");
termsOfServiceURL = object.decode("termsOfService") != null
? Uri.tryParse(object.decode("termsOfService"))
: null;
contact = object.decodeObject("contact", () => APIContact());
license = object.decodeObject("license", () => APILicense.empty());
version = object.decode("version");
}