menu
dialect package
documentation
arb/arb_file.dart
ArbEntry class
ArbEntry class
dark_mode
light_mode
ArbEntry
class
Constructors
ArbEntry
({
required
String
key
,
required
String
value
,
ArbMetadata
?
metadata
})
Properties
hashCode
→
int
The hash code for this object.
no setter
inherited
key
→
String
final
metadata
→
ArbMetadata
?
@key
block. Lives only in source ARBs by convention — translation ARBs are key/value-only and
dialect check --fix
strips metadata if found there.
final
namespace
→
String
?
Namespace this key belongs to, read from
@key.namespace
metadata.
null
if the source ARB didn't declare one —
dialect check
flags that as an error in source ARBs (the convention requires it).
no setter
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
value
→
String
final
Methods
copyWith
(
{
String
?
key
,
String
?
value
,
ArbMetadata
?
metadata
})
→
ArbEntry
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString
(
)
→
String
A string representation of this object.
inherited
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
dialect package
documentation
arb/arb_file
ArbEntry class
arb_file library