GetFilterResponse.fromJson constructor
GetFilterResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory GetFilterResponse.fromJson(Map<String, dynamic> json) {
return GetFilterResponse(
action: (json['action'] as String).toFilterAction(),
findingCriteria: FindingCriteria.fromJson(
json['findingCriteria'] as Map<String, dynamic>),
name: json['name'] as String,
description: json['description'] as String?,
rank: json['rank'] as int?,
tags: (json['tags'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
);
}