updateTime method

GenericGame updateTime()

Returns a copy of the GenericGame with the time updated to the current time

Implementation

GenericGame updateTime() => copyWith(time: DateTime.now());