register method

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

Register the resource with the Nitric server.

Implementation

@override
Future<void> register() async {
  var res = asRequest();

  await _client.declare(res);

  _registrationCompletion.complete(res.id);
}