Detector.fromJson constructor

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

Implementation

factory Detector.fromJson(Map<String, dynamic> json) {
  return Detector(
    arn: json['arn'] as String?,
    createdTime: json['createdTime'] as String?,
    description: json['description'] as String?,
    detectorId: json['detectorId'] as String?,
    eventTypeName: json['eventTypeName'] as String?,
    lastUpdatedTime: json['lastUpdatedTime'] as String?,
  );
}