timestamp property

  1. @JsonKey.new(name: 'timestamp', fromJson: LastFMValueNormalizer.DateTimeFromUnixTime, toJson: LastFMValueNormalizer.DateTimeToUnixTime)
DateTime? timestamp
getter/setter pair

The TimeStamp of the scrobble. If You're not doing strange stuff, you can use DateTime.now().

Implementation

@JsonKey(
  name: 'timestamp',
  fromJson: LastFMValueNormalizer.DateTimeFromUnixTime,
  toJson: LastFMValueNormalizer.DateTimeToUnixTime,
)
DateTime? timestamp;