permute method

  1. @override
DateTime permute(
  1. DateTime instance
)
override

Generates another instance with some deterministic function.

The only exception is Kind.forNull (because it has no other instances).

Implementation

@override
DateTime permute(DateTime instance) {
  return instance.add(Duration(hours: 24));
}