TextFormat constructor
Creates a TextFormat instance with the specified singular
form and optional plural
form.
Implementation
const TextFormat({
required this.singular,
String? plural,
}) : plural = plural ?? singular;
Creates a TextFormat instance with the specified singular
form and optional plural
form.
const TextFormat({
required this.singular,
String? plural,
}) : plural = plural ?? singular;