ChangelogUnsubscribeResult class

Confirmation result returned when unsubscribing from changelog updates.

Returned by POST /api/v1/public/apps/:appKey/changelog/unsubscribe.

Example

final result = await client.unsubscribeFromChangelog('user@example.com');
if (result.unsubscribed) {
  print('Unsubscribed from email updates.');
}

Constructors

ChangelogUnsubscribeResult({required bool unsubscribed})
Creates a ChangelogUnsubscribeResult record.
const
ChangelogUnsubscribeResult.fromJson(Map<String, dynamic> json)
Deserializes ChangelogUnsubscribeResult from a server JSON response.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unsubscribed bool
Whether the email was successfully unsubscribed.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited