Subscriber.fromJson constructor
Implementation
factory Subscriber.fromJson(Map<String, dynamic> json) {
return Subscriber(
address: json['Address'] as String,
subscriptionType:
(json['SubscriptionType'] as String).toSubscriptionType(),
);
}