S2Group<T> class

choice group data

Mixed-in types
Annotations

Constructors

S2Group({String? name, List<S2Choice<T>>? choices, S2GroupHeaderStyle? headerStyle})
default constructor

Properties

choices List<S2Choice<T>>?
Group choice items
final
count int
Group choice items length
no setter
hashCode int
The hash code for this object.
no setteroverride
headerStyle S2GroupHeaderStyle?
Group header style
final
name String?
Group name
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values List<T>
Group choice item values
no setter

Methods

copyWith({String? name, List<S2Choice>? choices, S2GroupHeaderStyle? headerStyle}) S2Group
Creates a copy of this S2Group but with the given fields replaced with the new values.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
merge(S2Group? other) S2Group
Creates a copy of this S2Group but with the given fields replaced with the new values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

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