Subscription.fromJson constructor
Implementation
factory Subscription.fromJson(Map<String, dynamic> json) {
return Subscription(
endPoint: json['EndPoint'] as String?,
protocol: (json['Protocol'] as String?)?.toSubscriptionProtocolType(),
subscriptionId: json['SubscriptionId'] as String?,
);
}