call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FHeaderActionStyle(...));

Implementation

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