ListTargetsForPolicyResponse.fromJson constructor

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

Implementation

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