mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
5f8ef3856a
* feat: initial version for collab document * feat: show sync indicator * feat: add sync document feature flag * fix: rust ci * chore: remove unused code * chore: update doc_bloc.dart
11 lines
288 B
Dart
11 lines
288 B
Dart
import 'dart:convert';
|
|
|
|
import 'package:appflowy_backend/log.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
const JsonEncoder _encoder = JsonEncoder.withIndent(' ');
|
|
void prettyPrintJson(Object? object) {
|
|
Log.trace(_encoder.convert(object));
|
|
debugPrint(_encoder.convert(object));
|
|
}
|