call abstract method

Object call(
  1. covariant Object? value
)

Applies this delta to the given value.

This method is covariant because of limitations with Dart's type system. Passing an Object to a Delta subclass will almost always result in a runtime error.

Contract

Subclasses must accept and return the same type. For example, a delta that accepts a TextStyle must return a TextStyle. The value may be nullable or non-null depending on the subclass.

In general, deltas for in-built Flutter types accept nullable values, while style deltas do not.

Implementation

Object call(covariant Object? value);