toMap method

Map<String, dynamic> toMap()

Convert the filter to a map for channel.

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'type': type.value,
    'child': {
      ...childMap(),
      ..._paramMap(),
    },
  };
}