ChangelogSubscriptionResult.fromJson constructor
Deserializes ChangelogSubscriptionResult from a server JSON response.
Implementation
factory ChangelogSubscriptionResult.fromJson(Map<String, dynamic> json) {
return ChangelogSubscriptionResult(
subscribed: json['subscribed'] as bool? ?? false,
alreadySubscribed: json['alreadySubscribed'] as bool? ?? false,
);
}