fromString static method

ProjectionParams fromString(
  1. List values
)

Parses comma-separated list of projection fields.

  • values one or more comma-separated lists of projection fields Returns a newly created ProjectionParams.

Implementation

static ProjectionParams fromString(List<dynamic> values) {
  var result = ProjectionParams();

  for (var value in values) {
    ProjectionParams._parseValue('', result, value);
  }

  return result;
}