copyWith method

CardRecordByTime copyWith({
  1. int? channel,
  2. int? streamType,
  3. DateTime? beginTime,
  4. DateTime? endTime,
})

Implementation

CardRecordByTime copyWith(
    {int? channel, int? streamType, DateTime? beginTime, DateTime? endTime}) {
  return CardRecordByTime(
    channel: channel ?? this.channel,
    streamType: streamType ?? this.streamType,
    beginTime: beginTime ?? this.beginTime,
    endTime: endTime ?? this.endTime,
  );
}