call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FCalendarDayPickerStyle(...));

Implementation

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