GetDetectorsResult.fromJson constructor
Implementation
factory GetDetectorsResult.fromJson(Map<String, dynamic> json) {
return GetDetectorsResult(
detectors: (json['detectors'] as List?)
?.whereNotNull()
.map((e) => Detector.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['nextToken'] as String?,
);
}