main function Null safety

void main(
  1. List<String> arguments
)

Implementation

void main(List<String> arguments) {
  final translator = I10nTranslator();
  translator.generate(arguments.isEmpty ? null : arguments.first,
      arguments.length == 2 ? arguments[1] : null);
}