Proportion class

The transform to calculate proportion of a certain field value of a tuple in all (or in a certain group) tuples.

This will create a new variable for results.

See also:

  • Tuple, the original value tuple.
Inheritance

Constructors

Proportion({required String variable, Varset? nest, required String as, Scale<dynamic, num>? scale})
Creates a proportion transform.

Properties

as String
The name identifier of result variable.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
nest Varset?
The algebracal expression to nest the proportion.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale Scale<dynamic, num>?
The scale of result variable.
getter/setter pair
variable String
Which variable to calculate the proportion.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override