enforceParsed method

Map<String, dynamic> enforceParsed(
  1. Map inputData,
  2. List<String> fields
)

Validates, and filters input data after running autoParse, and throws an error if it is invalid.

Otherwise, the filtered data is returned.

Implementation

Map<String, dynamic> enforceParsed(Map inputData, List<String> fields) => enforce(autoParse(inputData, fields));