previous method

Page previous()

Returns the previous Page or the first Page if the current one already is the first one.

Implementation

Page previous() =>
    (number == 0) ? this : Page(number: number - 1, size: size);