inferValueTypes function

ValueType inferValueTypes(
  1. Iterable values
)

Infers the ValueType of multiple JSON values with the same structure.

Implementation

ValueType inferValueTypes(Iterable<dynamic> values) =>
    generalizeValueTypes(values.map(inferValueType).toList(growable: false));