running formatter

This commit is contained in:
2026-01-15 17:34:56 -08:00
parent a962b1f3cf
commit 6634ebaf81
1180 changed files with 16714 additions and 16640 deletions
@@ -69,7 +69,8 @@ abstract class FirestoreHttpClient implements FirestoreClient {
Future<List<DocumentSnapshot>> listDocumentSnapshots(String path) async {
var list = <DocumentSnapshot>[];
var result = await (getJsonList("$path", extract: 'documents') as FutureOr<List<dynamic>>);
var result = await (getJsonList("$path", extract: 'documents')
as FutureOr<List<dynamic>>);
for (var item in result) {
list.add(new DocumentSnapshot(this, item));
@@ -21,14 +21,16 @@ class PushIdGenerator {
static int? _lastPushTime;
static final List<int?> _lastRandChars = List<int?>.filled(12, null, growable: false);
static final List<int?> _lastRandChars =
List<int?>.filled(12, null, growable: false);
static String generatePushChildName() {
int now = DateTime.now().millisecondsSinceEpoch;
final bool duplicateTime = (now == _lastPushTime);
_lastPushTime = now;
final List<String?> timeStampChars = List<String?>.filled(8, null, growable: false);
final List<String?> timeStampChars =
List<String?>.filled(8, null, growable: false);
for (int i = 7; i >= 0; i--) {
timeStampChars[i] = PUSH_CHARS[now % 64];
now = (now / 64).floor();