toMapNullableDateSecs static method

int? toMapNullableDateSecs(
  1. DateTime? dateTime
)

Implementation

static int? toMapNullableDateSecs(DateTime? dateTime) =>
    dateTime == null ? null : dateTime.millisecondsSinceEpoch ~/ 1000;