SubscriptionFilter.fromJson constructor
SubscriptionFilter.fromJson(
- Map<String, dynamic> json
)
Implementation
factory SubscriptionFilter.fromJson(Map<String, dynamic> json) {
return SubscriptionFilter(
creationTime: json['creationTime'] as int?,
destinationArn: json['destinationArn'] as String?,
distribution: (json['distribution'] as String?)?.toDistribution(),
filterName: json['filterName'] as String?,
filterPattern: json['filterPattern'] as String?,
logGroupName: json['logGroupName'] as String?,
roleArn: json['roleArn'] as String?,
);
}