16 lines
446 B
Dart
16 lines
446 B
Dart
const _analyzerIgnores =
|
|
'// ignore_for_file: non_constant_identifier_names, unnecessary_lambdas, prefer_expression_function_bodies, lines_longer_than_80_chars, avoid_as, avoid_annotating_with_dynamic, avoid_init_to_null';
|
|
|
|
class StoreFileTemplate {
|
|
Iterable<String> storeSources;
|
|
|
|
@override
|
|
String toString() => storeSources.isEmpty
|
|
? ''
|
|
: '''
|
|
$_analyzerIgnores
|
|
|
|
${storeSources.join('\n\n')}
|
|
''';
|
|
}
|