serialize method
Interface for output serialization.
Implementation
@override
void serialize(SerializableOutput output) {
output.addUint32(keys.length);
for (MapEntry<Uint8List, String> key in keys) {
serializeString(output, key.key);
serializeString(output, key.value);
}
}