decode method Null safety
- KeyedArchive object
override
Implementation
@override
void decode(KeyedArchive object) {
super.decode(object);
for (final key in object.keys) {
final decoded = object.decode<Iterable<dynamic>>(key);
if (decoded != null) {
final req = List<String>.from(decoded);
requirements ??= <String, List<String>>{};
requirements![key] = req;
}
}
}