call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FCalendarHeaderStyle(...));

Implementation

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