CreateNotificationSubscriptionResponse.fromJson constructor

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

Implementation

factory CreateNotificationSubscriptionResponse.fromJson(
    Map<String, dynamic> json) {
  return CreateNotificationSubscriptionResponse(
    subscription: json['Subscription'] != null
        ? Subscription.fromJson(json['Subscription'] as Map<String, dynamic>)
        : null,
  );
}