SharedAppDataInitCallback<T> typedef Null safety

SharedAppDataInitCallback<T> = T Function()

The type of the SharedAppData.getValue init parameter.

This callback is used to lazily create the initial value for a SharedAppData keyword.

Implementation

typedef SharedAppDataInitCallback<T> = T Function();