decode method

void decode(
  1. KeyedArchive object
)
override

Implementation

void decode(KeyedArchive object) {
  super.decode(object);

  title = object.decode("title");
  description = object.decode("description");
  termsOfServiceURL = object.decode("termsOfService");
  contact =
      object.decodeObject("contact", () => new APIContact()) as APIContact;
  license =
      object.decodeObject("license", () => new APILicense()) as APILicense;
  version = object.decode("version");
}