encode method

  1. @override
DateTime encode(
  1. int input
)
override

Encodes input.

The input is encoded as if by encoder.convert.

Implementation

@override
DateTime encode(int input) => encoder.convert(input);