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