CostCategoryValues.fromJson constructor
Implementation
factory CostCategoryValues.fromJson(Map<String, dynamic> json) {
return CostCategoryValues(
key: json['Key'] as String?,
matchOptions: (json['MatchOptions'] as List?)
?.whereNotNull()
.map((e) => (e as String).toMatchOption())
.toList(),
values: (json['Values'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
);
}