PlutoColumnGroupHelper class
Helper class for handling PlutoColumnGroup.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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.
inherited
Static Methods
-
exists(
{required String field, required PlutoColumnGroup columnGroup}) → bool -
Returns whether
field
exists incolumnGroup
. -
existsFromList(
{required String field, required List< PlutoColumnGroup> columnGroupList}) → bool -
Returns whether
field
exists incolumnGroupList
. -
getGroupIfExistsFromList(
{required String field, required List< PlutoColumnGroup> columnGroupList}) → PlutoColumnGroup? -
Finds PlutoColumnGroup with
field
incolumnGroupList
and returns it. Returnsnull
if not found. -
getParentGroupIfExistsFromList(
{required String field, required List< PlutoColumnGroup> columnGroupList}) → PlutoColumnGroup? -
Find the parent class of
field
incolumnGroupList
and return it. Returnsnull
if not found. -
maxDepth(
{required List< PlutoColumnGroup> columnGroupList, int level = 0}) → int -
columnGroupList
Returns the depth of how many levels the group has been set. -
separateLinkedGroup(
{required List< PlutoColumnGroup> columnGroupList, required List<PlutoColumn> columns}) → List<PlutoColumnGroupPair> -
Separate groups according to the order of
columns
.