RemoveTargetsResponse.fromJson constructor

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

Implementation

factory RemoveTargetsResponse.fromJson(Map<String, dynamic> json) {
  return RemoveTargetsResponse(
    failedEntries: (json['FailedEntries'] as List?)
        ?.whereNotNull()
        .map((e) =>
            RemoveTargetsResultEntry.fromJson(e as Map<String, dynamic>))
        .toList(),
    failedEntryCount: json['FailedEntryCount'] as int?,
  );
}