encode method Null safety

  1. @override
void encode(
  1. KeyedArchive object
)
override

Implementation

@override
void encode(KeyedArchive object) {
  name = "temporary";
  super.encode(object);
  object.remove("name");
  object.remove("in");
  name = null;
}