getImportStrings method

List<String> getImportStrings()

Implementation

List<String> getImportStrings() {
  return imports
      .where((element) => element.isNotEmpty)
      .map((e) => "import '$e.dart';")
      .toList();
}