copyWith method

NewSongDataPrivilegeFreeTrialPrivilege copyWith({
  1. bool? resConsumable,
  2. bool? userConsumable,
  3. int? listenType,
  4. int? cannotListenReason,
})

Implementation

NewSongDataPrivilegeFreeTrialPrivilege copyWith({
  bool? resConsumable,
  bool? userConsumable,
  int? listenType,
  int? cannotListenReason,
}) {
  return NewSongDataPrivilegeFreeTrialPrivilege()
    ..resConsumable = resConsumable ?? this.resConsumable
    ..userConsumable = userConsumable ?? this.userConsumable
    ..listenType = listenType ?? this.listenType
    ..cannotListenReason = cannotListenReason ?? this.cannotListenReason;
}