copyWith method

  1. @override
EmailAddressResetStateAvailable copyWith({
  1. int? waitPeriod,
})
override

Copy model with modified properties.

Properties:

  • wait_period: Time required to wait before the email address can be reset; 0 if the user is subscribed to Telegram Premium

Implementation

@override
EmailAddressResetStateAvailable copyWith({
  int? waitPeriod,
}) =>
    EmailAddressResetStateAvailable(
      waitPeriod: waitPeriod ?? this.waitPeriod,
    );