call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FSelectSectionStyle(...));

Implementation

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