FanetJoinLink constructor

FanetJoinLink({
  1. required Object restBase,
  2. required String networkId,
  3. String? password,
})

Creates a join link value. restBase may be a Uri or its string form; it must be the server origin (scheme + host + optional port), without a path.

Implementation

FanetJoinLink({
  required Object restBase,
  required this.networkId,
  this.password,
}) : restBase = restBase is String ? Uri.parse(restBase) : restBase as Uri;