UpdateTermsOfService constructor

const UpdateTermsOfService({
  1. required String termsOfServiceId,
  2. required TermsOfService termsOfService,
  3. dynamic extra,
  4. int? clientId,
})

New terms of service must be accepted by the user. If the terms of service are declined, then the deleteAccount method must be called with the reason "Decline ToS update"

Implementation

const UpdateTermsOfService({
  required this.termsOfServiceId,
  required this.termsOfService,
  this.extra,
  this.clientId,
});