copyWith method

InputPollMediaAnimation copyWith({
  1. InputAnimation? animation,
})

Implementation

InputPollMediaAnimation copyWith({InputAnimation? animation}) =>
    InputPollMediaAnimation(animation: animation ?? this.animation);