We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pres
lib/src/models/server-messages.dart
static PresMessage fromMessage(Map<String, dynamic> msg) { return PresMessage( topic: msg['msg'], src: msg['src'], what: msg['what'], seq: msg['seq'], clear: msg['clear'], delseq: msg['delseq'] != null && msg['delseq'].length != null ? msg['delseq'].map((seq) => DeleteTransactionRange.fromMessage(seq)).toList() : [], ua: msg['ua'], act: msg['act'], tgt: msg['tgt'], acs: msg['acs'] != null ? AccessMode(msg['acs']) : null, dacs: msg['dacs'] != null ? AccessMode(msg['dacs']) : null, ); } }
需要改为
static PresMessage fromMessage(Map<String, dynamic> msg) { return PresMessage( topic: msg['topic'], src: msg['src'], what: msg['what'], seq: msg['seq'], clear: msg['clear'], delseq: msg['delseq'] != null && msg['delseq'].length != null ? msg['delseq'].map((seq) => DeleteTransactionRange.fromMessage(seq)).toList() : [], ua: msg['ua'], act: msg['act'], tgt: msg['tgt'], acs: msg['acs'] != null ? AccessMode(msg['acs']) : null, dacs: msg['dacs'] != null ? AccessMode(msg['dacs']) : null, ); } }
否则
grp!.onPres.listen
无法获取到最新的数据
The text was updated successfully, but these errors were encountered:
No branches or pull requests
lib/src/models/server-messages.dart
需要改为
否则
无法获取到最新的数据
The text was updated successfully, but these errors were encountered: