AlertDetectionModel.fromJson constructor
Implementation
factory AlertDetectionModel.fromJson(Map<String, dynamic> json) => AlertDetectionModel(status: ActivityStatus.values.where((element) => element.name == "${json['status']}").firstOrNull, minute: json['minute']);