attributeSerializer
fun <T> attributeSerializer(key: <Error class: unknown class><T>, save: SaverScope.(value: T) -> Any?, restore: (value: Any) -> T?): AttributeSerializer<T>
Creates an AttributeSerializer using functional save and restore lambdas.