decode method Null safety
- KeyedArchive object
override
Implementation
@override
void decode(KeyedArchive object) {
super.decode(object);
name = object.decode("name") ?? "default";
url = object.decode("url") ?? "http://localhost";
}
@override
void decode(KeyedArchive object) {
super.decode(object);
name = object.decode("name") ?? "default";
url = object.decode("url") ?? "http://localhost";
}