Filter.fromJson constructor

Filter.fromJson(
  1. Map<String, dynamic> jsonSerialization
)

Implementation

factory Filter.fromJson(Map<String, dynamic> jsonSerialization) {
  return Filter(
    name: jsonSerialization['name'] as String,
    table: jsonSerialization['table'] as String,
    constraints: (jsonSerialization['constraints'] as List)
        .map(
            (e) => _i2.FilterConstraint.fromJson((e as Map<String, dynamic>)))
        .toList(),
  );
}