linkDevice method

  1. @override
Future<void> linkDevice({
  1. required Session session,
  2. String? id,
  3. Map<String, String>? vars,
})
override

Implementation

@override
Future<void> linkDevice({
  required model.Session session,
  String? id,
  Map<String, String>? vars,
}) async {
  _session = session;

  await _api.nakamaLinkDevice(
    body: ApiAccountDevice(
      id: id,
      vars: vars,
    ),
  );
}