encode method
Implementation
void encode(KeyedArchive object) {
super.encode(object);
if (url == null) {
throw ArgumentError(
"APIServerDescription must have non-null values for: 'url'.");
}
object.encode("url", url);
object.encode("description", description);
object.encodeObjectMap("variables", variables);
}