onInit method Null safety

Future<void> onInit(
  1. Context context
)
inherited

Called to init a component only one time.

Do not call this function, it is called from SparkREST from you.

Implementation

Future<void> onInit(final Context context);