DescribeNotificationSubscriptionsResponse.fromJson constructor

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

Implementation

factory DescribeNotificationSubscriptionsResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeNotificationSubscriptionsResponse(
    marker: json['Marker'] as String?,
    subscriptions: (json['Subscriptions'] as List?)
        ?.whereNotNull()
        .map((e) => Subscription.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}