increase min sdk and apply new formatter
This commit is contained in:
1 parent
f7885fc829
commit
a1ee8bef35
266 files changed
+11329
-10058
No files matched your search
@@ -3,11 +3,7 @@ import 'package:rxdart/rxdart.dart';
|
||||
final _lastEventTimes = <Subject, Map<dynamic, int>>{};
|
||||
|
||||
extension SubjectAddRecent<T> on Subject<T> {
|
||||
void addWhenMoreRecent(
|
||||
int timestamp,
|
||||
dynamic identifier,
|
||||
T value,
|
||||
) {
|
||||
void addWhenMoreRecent(int timestamp, dynamic identifier, T value) {
|
||||
_lastEventTimes[this] ??= {};
|
||||
|
||||
if ((_lastEventTimes[this]?[identifier] ?? 0) < timestamp) {
|
||||
|
||||
Reference in new issue
Block a user