ARBItemAnnotationPlaceholder class
ARB item annotation placeholder model Example:
"firstName": { "type": "String", "example": "John Doe" }
key - "firstName" in example type - optional, "String" in example example - optional, "John Doe" in example format - optional, not included in example otherAttributes - optional, contains other entries (for example isCustomDateFormat)
Constructors
-
ARBItemAnnotationPlaceholder({required ARBItemPlaceholderKey key, String? type, dynamic example, String? format, Map<
String, dynamic> ? otherAttributes}) -
const
- ARBItemAnnotationPlaceholder.fromData(ARBItemSpecialData data)
-
factory
-
ARBItemAnnotationPlaceholder.fromJson(ARBItemPlaceholderKey key, Map<
String, dynamic> json) -
factory
- ARBItemAnnotationPlaceholder.fromKey(String key)
-
factory
Properties
- example → dynamic
-
final
- format → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → ARBItemPlaceholderKey
-
final
-
otherAttributes
→ Map<
String, dynamic> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String?
-
final
Methods
-
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