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