ARBItemAnnotation class

ARB item annotation model Example:

"@pageHomeTitle" : { "description" : "Welcome message on the Home screen", "placeholders": { "firstName": {} } }

description - optional, "Welcome message on the Home screen" in example placeholders - List of placeholders with their metadata, "firstName" in example

Constructors

ARBItemAnnotation({String? description, List<ARBItemAnnotationPlaceholder> placeholders = const [], bool isAutoGen = false})
const
ARBItemAnnotation.fromData(Iterable<ARBItemSpecialData> data, List<String> parsedPlaceholders)
factory
ARBItemAnnotation.fromJson(Map<String, dynamic> json)
factory

Properties

description → String?
final
hashCode → int
The hash code for this object.
no setterinherited
hasPlaceholders → bool
no setter
isAutoGen → bool
final
placeholders → List<ARBItemAnnotationPlaceholder>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

findPlaceholderByKey(ARBItemPlaceholderKey key) → ARBItemAnnotationPlaceholder?
Finds placeholder by key
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → ARBAttributeKey
A string representation of this object.
inherited

Operators

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