serialize method

  1. @override
void serialize(
  1. SerializableOutput output
)
override

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);
  }
}