ListTargetsByRuleResponse.fromJson constructor
Implementation
factory ListTargetsByRuleResponse.fromJson(Map<String, dynamic> json) {
return ListTargetsByRuleResponse(
nextToken: json['NextToken'] as String?,
targets: (json['Targets'] as List?)
?.whereNotNull()
.map((e) => Target.fromJson(e as Map<String, dynamic>))
.toList(),
);
}