call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FSidebarGroupStyle(...));

Implementation

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