PlutoColumnGroupHelper class

Helper class for handling PlutoColumnGroup.

Constructors

PlutoColumnGroupHelper()

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 in columnGroup.
existsFromList({required String field, required List<PlutoColumnGroup> columnGroupList}) bool
Returns whether field exists in columnGroupList.
getGroupIfExistsFromList({required String field, required List<PlutoColumnGroup> columnGroupList}) PlutoColumnGroup?
Finds PlutoColumnGroup with field in columnGroupList and returns it. Returns null if not found.
getParentGroupIfExistsFromList({required String field, required List<PlutoColumnGroup> columnGroupList}) PlutoColumnGroup?
Find the parent class of field in columnGroupList and return it. Returns null 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.