date_ property

  1. @JsonKey(includeFromJson: false, includeToJson: false)
DateTime? get date_

Implementation

@JsonKey(includeFromJson: false, includeToJson: false)
DateTime? get date_ => date == null ? null : TimeHelper.toDateTime(date!);
set date_ (DateTime? dateTime)

Implementation

set date_(DateTime? dateTime) =>
    date = dateTime == null ? null : TimeHelper.toUnixTime(dateTime);