subscribeResource abstract method

Future<Subscription> subscribeResource(
  1. AugmentedForm form, {
  2. required void next(
    1. Content content
    ),
  3. void error(
    1. Exception error
    )?,
  4. required void complete(),
})

Requests the client to perform a subscribeproperty operation on a form.

Implementation

Future<Subscription> subscribeResource(
  AugmentedForm form, {
  required void Function(Content content) next,
  void Function(Exception error)? error,
  required void Function() complete,
});