DescribeEventSubscriptionsResponse.fromJson constructor

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

Implementation

factory DescribeEventSubscriptionsResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeEventSubscriptionsResponse(
    eventSubscriptionsList: (json['EventSubscriptionsList'] as List?)
        ?.whereNotNull()
        .map((e) => EventSubscription.fromJson(e as Map<String, dynamic>))
        .toList(),
    marker: json['Marker'] as String?,
  );
}