local_identity property

String? local_identity

Implementation

String? get local_identity {
  assert(
      _session != null, 'ERROR(get local_identity): rtc session is invalid!');
  if (_session.local_identity != null &&
      _session.local_identity!.uri != null &&
      _session.local_identity!.uri!.user != null) {
    return _session.local_identity!.uri!.user;
  }
  return '';
}