DescribeSubscriptionFiltersResponse.fromJson constructor

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

Implementation

factory DescribeSubscriptionFiltersResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeSubscriptionFiltersResponse(
    nextToken: json['nextToken'] as String?,
    subscriptionFilters: (json['subscriptionFilters'] as List?)
        ?.whereNotNull()
        .map((e) => SubscriptionFilter.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}