link constant

Spec<LinkRequest, LinkResponse> const link

Link associates a device with a user profile. Required before the device can be used for authenticated operations.

Implementation

static const link = connect.Spec(
  '/$name/Link',
  connect.StreamType.unary,
  devicev1device.LinkRequest.new,
  devicev1device.LinkResponse.new,
);