Creates and returns a new Provider that maps the value of this using the transform function.
transform should be a pure function.