role property

String role

Implementation

String get role => _getAttribute<String>(kRole, '');
void role=(String? x)

Can be either leader or member

pass null to remove key from attributes

Implementation

set role(String? x) =>
    (x == null) ? _attributes.remove(kRole) : _attributes[kRole] = x;