forked from eatvio/eatvio_app
fix(Native Analyze)
This commit is contained in:
@@ -80,7 +80,7 @@ void main(List<String> args) {
|
||||
final sorted = <String, Map<String, dynamic>>{
|
||||
for (final key in contract.keys.toList()..sort()) key: contract[key]!,
|
||||
};
|
||||
final encoder = JsonEncoder.withIndent(' ');
|
||||
final encoder = const JsonEncoder.withIndent(' ');
|
||||
final output = encoder.convert(sorted);
|
||||
|
||||
if (args.isNotEmpty) {
|
||||
@@ -166,7 +166,7 @@ Map<String, Map<String, dynamic>> extractModels(String source) {
|
||||
}
|
||||
|
||||
/// Разбивает тело фабрики по запятым верхнего уровня,
|
||||
/// не разрывая дженерики (List<int, String>) и вложенные скобки.
|
||||
/// не разрывая дженерики (`List<int, String>`) и вложенные скобки.
|
||||
List<String> _splitTopLevel(String body) {
|
||||
final parts = <String>[];
|
||||
final current = StringBuffer();
|
||||
|
||||
Reference in New Issue
Block a user