call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FCalendarEntryStyle(...));

Implementation

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