call method

  1. @useResult
FSelectGroupStyle call(
  1. Object? _
)
inherited

Returns itself.

Allows FSelectGroupStyle to replace functions that accept and return a FSelectGroupStyle, such as a style's copyWith(...) function.

Example

Given:

void copyWith(FSelectGroupStyle Function(FSelectGroupStyle) nestedStyle) {}

The following:

copyWith((style) => FSelectGroupStyle(...));

Can be replaced with:

copyWith(FSelectGroupStyle(...));

Implementation

@useResult
FSelectGroupStyle call(Object? _) => this as FSelectGroupStyle;