getPositionalArguments method

List getPositionalArguments (
  1. ClassMirror cm,
  2. JsonMap jsonMap,
  3. [DeserializationOptions options]
)

Implementation

List getPositionalArguments(ClassMirror cm, JsonMap jsonMap,
    [DeserializationOptions options]) {
  final result = [];

  enumerateConstructorParameters(
      cm, jsonMap, options, (param) => !param.isOptional && !param.isNamed,
      (param, name, jsonName, classMeta, JsonProperty meta, value,
          TypeInfo typeInfo) {
    result
        .add(isFieldIgnored(value, classMeta, meta, options) ? null : value);
  });

  return result;
}