validateParams function

void validateParams(
  1. List<String> args
)

Implementation

void validateParams(List<String> args) {
  if (args.isEmpty) {
    throw "No parameter found. Try 'dart cli.dart shared/locale'";
  }
}