onStart method

  1. @override
Future<void> onStart()
override

Called when the node is started. This is where you should initialize your node. If you are using a stateful node, your state was already loaded by this point

Implementation

@override
Future<void> onStart() async {
  storage = await GoogleCloudFireStorage.create();
}