Field.create constructor

Field.create(
  1. String name,
  2. int num,
  3. int type,
  4. double scale,
  5. double offset,
  6. String units,
  7. bool accumulated,
  8. ProfileType profileType,
)

Implementation

factory Field.create(
  String name,
  int num,
  int type,
  double scale,
  double offset,
  String units,
  bool accumulated,
  ProfileType profileType,
) {
  return Field(
    name,
    num,
    type,
    scale,
    offset,
    units,
    accumulated,
    profileType,
  );
}