ActionThreshold.fromJson constructor

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

Implementation

factory ActionThreshold.fromJson(Map<String, dynamic> json) {
  return ActionThreshold(
    actionThresholdType:
        (json['ActionThresholdType'] as String).toThresholdType(),
    actionThresholdValue: json['ActionThresholdValue'] as double,
  );
}