call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FTabsStyle(...));

Implementation

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