From 89b25df4660411ed7f07433a24f704fdac569b15 Mon Sep 17 00:00:00 2001 From: Wayne Duran Date: Sun, 25 Apr 2021 21:51:00 +0800 Subject: [PATCH] refactor: removing unnecessary external --- lib/printer.dart | 6 +++--- lib/release_tools_command.dart | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/printer.dart b/lib/printer.dart index bbf52ac..edc3a73 100644 --- a/lib/printer.dart +++ b/lib/printer.dart @@ -4,13 +4,13 @@ import 'package:ansicolor/ansicolor.dart'; abstract class Printer { /// Prints a regular string - external void println(String str); + void println(String str); /// Prints a string signifying success. - external void printSuccess(String str); + void printSuccess(String str); /// Prints an error string - external void printErr(String str); + void printErr(String str); } final red = AnsiPen()..red(); diff --git a/lib/release_tools_command.dart b/lib/release_tools_command.dart index 26075ab..8a9fcab 100644 --- a/lib/release_tools_command.dart +++ b/lib/release_tools_command.dart @@ -22,8 +22,8 @@ abstract class ReleaseToolsCommand extends Command { } mixin VersionCommand on ReleaseToolsCommand { - external FileSystem get fs; - external String get workingDir; + FileSystem get fs; + String get workingDir; Future getVersionFromArgsOrPubspec() async { final args = ensureArgResults(); @@ -67,7 +67,7 @@ class NoPubspecFileFound extends StateError { } mixin GitCommand on ReleaseToolsCommand { - external GitExec get git; + GitExec get git; void gitFromOption() { argParser.addOption(