@override Object? encode(Map<String, Uint8List> self) { return self.map((key, value) => MapEntry(key, base64Encode(value))); }