call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FButtonIconContentStyle(...));

Implementation

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