BatchUpdateDetectorResponse.fromJson constructor

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

Implementation

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