mirror of
https://github.com/flutter/samples.git
synced 2026-04-06 11:41:26 +00:00
[linting_tool] Implement exporting profiles (#869)
This commit is contained in:
committed by
GitHub
parent
a46327ef80
commit
9986fe2f2c
@@ -5,6 +5,7 @@
|
||||
import 'package:linting_tool/model/rule.dart';
|
||||
import 'package:linting_tool/repository/api_provider.dart';
|
||||
import 'package:http/http.dart' as http;
|
||||
import 'package:yaml/yaml.dart';
|
||||
|
||||
class Repository {
|
||||
late final APIProvider _apiProvider;
|
||||
@@ -14,4 +15,6 @@ class Repository {
|
||||
}
|
||||
|
||||
Future<List<Rule>> getRulesList() => _apiProvider.getRulesList();
|
||||
|
||||
Future<YamlMap> getTemplateFile() => _apiProvider.getTemplateFile();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user