<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def from_map(map):
 """ Creates a new PagingParams and sets it parameters from the specified map :param map: a AnyValueMap or StringValueMap to initialize this PagingParams :return: a newly created PagingParams. """

        skip = map.get_as_nullable_integer("skip")
        take = map.get_as_nullable_integer("take")
        total = map.get_as_nullable_boolean("total")
        return PagingParams(skip, take, total)