copyWith method

TXPlayerValue copyWith({
  1. TXPlayerState? state,
  2. int? degree,
})

Implementation

TXPlayerValue copyWith({
  TXPlayerState? state,
  int? degree,
}) {
  return TXPlayerValue(state: state ?? this.state, degree: degree ?? this.degree);
}