polymerizeByDataType method
Adds a new data type to the grouped data and sets the type of the grouped data to be returned.
Implementation
void polymerizeByDataType(
DataType inputDataType,
DataType outputDataType,
) {
_polymerizedDataTypes ??= <Map<String, dynamic>>[];
_polymerizedDataTypes?.add(
<String, dynamic>{
'inputDataType': inputDataType.toMap(),
'outputDataType': outputDataType.toMap(),
},
);
}