encode method Null safety

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

Implementation

@override
void encode(KeyedArchive object) {
  super.encode(object);

  object.encode("name", name);
  object.encode("description", description);
}