@override Map<String, Object?> valueToJson() => { for (final entry in attributes.entries) entry.key: entry.value.toJson(), };