data method

T data(
  1. K key
)

Attempts to get the current data of the ResultNotifier with the specified key.

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

See ResultNotifier.data.

Implementation

T data(K key) {
  return getNotifier(key).data;
}