dataOrNull method

T? dataOrNull(
  1. K key
)

Gets the data, if any, of the ResultNotifier with the specified key.

If no such ResultNotifier exists, a new one will be created using the create function.

See ResultNotifier.dataOrNull.

Implementation

T? dataOrNull(K key) {
  return getNotifier(key).dataOrNull;
}