onInit method Null safety

  1. @override
Future<void> onInit(
  1. Context context
)

Called to init a component only one time.

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

Implementation

@override
Future<void> onInit(final Context context) async => null;