Catalog class

Constructors

Catalog({Entry? header, List<Entry> entries = const [], required ExtractSettings settings})
Catalog.fromFile(ExtractSettings settings, File file)
factory
Catalog.fromString(ExtractSettings settings, String catalog)
factory

Properties

entries List<Entry>
final
hashCode int
The hash code for this object.
no setterinherited
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
settings ExtractSettings
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reduceDuplicates() → void
Join together duplicate entries.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

formatPoDateTime(DateTime dt) String
getDefaultHeaderEntry(ExtractSettings settings) Entry
getHeaderComment({String? package, String? copyrightHolder}) List<String>
getHeaderMsgstr({String? package, String? version, String reportBugsTo = "", String? potCreationDate, String poRevisionDate = "YEAR-MO-DA HO:MI+ZONE", String lastTranslator = "FULL NAME <EMAIL@ADDRESS>", String languageTeam = "LANGUAGE <LL@li.org>", String language = "", String charset = "CHARSET", int? nplurals, String plural = "EXPRESSION"}) String