minify method

Map<String, dynamic> minify(
  1. Map<String, dynamic> values
)

Requests the step to minify the given values map by stripping any key / value pairs that exist in the map but are not allowed by the step.

Implementation

Map<String, dynamic> minify(Map<String, dynamic> values) =>
    values..removeWhere((key, value) => !keys.contains(key) || value == null);