call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FTileGroupStyle(...));

Implementation

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