toFile static method

String toFile(
  1. String name
)

Get the language file from name.

Implementation

static String toFile(String name) =>
    '${name[0].toUpperCase()}${name.substring(1)}.$extension';