Condition.fromJson constructor
Implementation
factory Condition.fromJson(Map<String, dynamic> json) {
return Condition(
targetUrl: json['targetUrl'] != null
? List<String>.from(json['targetUrl'] as List<dynamic>)
: null,
responseCode: json['responseCode'] != null
? List<String>.from(json['responseCode'] as List<dynamic>)
: null,
method: json['method'] != null
? List<String>.from(json['method'] as List<dynamic>)
: null,
);
}