Subscriber.fromJson constructor

Subscriber.fromJson(
  1. Map<String, dynamic> json
)

Implementation

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