setId static method
Sets the Squadron instance id
. Once set, the id cannot be modified. The only way to assign a new id
is to first call shutdown, then initialize a new Squadron instance.
Implementation
static void setId(String value) {
final sq = _getOrInitialize();
if (sq._id == null) {
value = value.trim();
if (value.isNotEmpty) {
sq._id ??= value;
}
}
}