Condition.fromJson constructor

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

Implementation

factory Condition.fromJson(Map<String, dynamic> json) {
  return Condition(
    conditionKey: json['ConditionKey'] as String,
    conditionType: (json['ConditionType'] as String).toConditionType(),
    conditionValue: json['ConditionValue'] as String,
  );
}