call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FSelectContentStyle(...));

Implementation

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