convert method

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

Converts input and returns the result of the conversion.

Implementation

@override
int convert(DateTime input) => (input.millisecondsSinceEpoch / 1000).round();