style(change_detect): Minor readability updates
This commit is contained in:
parent
f74d97e1f1
commit
19e4ee81b9
|
@ -231,7 +231,7 @@ class _CodegenState {
|
||||||
|
|
||||||
List<String> _getNonNullPipeNames() {
|
List<String> _getNonNullPipeNames() {
|
||||||
return _records
|
return _records
|
||||||
.where((r) => r.mode == RecordType.PIPE)
|
.where((r) => r.isPipeRecord())
|
||||||
.map((r) => _pipeNames[r.selfIndex])
|
.map((r) => _pipeNames[r.selfIndex])
|
||||||
.toList();
|
.toList();
|
||||||
}
|
}
|
||||||
|
@ -276,7 +276,7 @@ class _CodegenState {
|
||||||
'${_genGetDirective(rec.directiveIndex)}.onAllChangesDone();')
|
'${_genGetDirective(rec.directiveIndex)}.onAllChangesDone();')
|
||||||
.join('');
|
.join('');
|
||||||
return '''
|
return '''
|
||||||
_dispatcher.notifyOnAllChangesDone();
|
$_DISPATCHER_ACCESSOR.notifyOnAllChangesDone();
|
||||||
${directiveNotifications}
|
${directiveNotifications}
|
||||||
''';
|
''';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue