PatchFilter.fromJson constructor

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

Implementation

factory PatchFilter.fromJson(Map<String, dynamic> json) {
  return PatchFilter(
    key: (json['Key'] as String).toPatchFilterKey(),
    values: (json['Values'] as List)
        .whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}