decode method Null safety

void decode(
  1. KeyedArchive object
)
override

Implementation

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

  url = object.decode("url");
  description = object.decode("description");
  variables =
      object.decodeObjectMap("variables", () => new APIServerVariable.empty())
          as Map<String, APIServerVariable>?;
}