decode method

  1. @mustCallSuper
  2. @override
void decode(
  1. KeyedArchive object
)
override

Implementation

@mustCallSuper
@override
void decode(KeyedArchive object) {
  super.decode(object);

  final extensionKeys = object.keys.where((k) => k.startsWith("x-"));
  extensionKeys.forEach((key) {
    extensions[key] = object.decode(key);
  });
}