call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FBreadcrumbStyle(...));

Implementation

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