call method

T call([
  1. T? state
])

Implementation

T call([T? state]) {
  if (state != null) {
    this.state = state;
  }

  return this.state;
}