deserialize method

  1. @override
void deserialize(
  1. SerializableInput input
)
override

Interface for intput serialization.

Implementation

@override
void deserialize(SerializableInput input) {
  keys.clear();
  int length = input.getUint32();
  for (int i = 0; i < length; i++) {
    Uint8List key = deserializeStringBytes(input);
    keys.add(MapEntry<Uint8List, String>(key, deserializeString(input)));
  }
}