Text class

Annotations
  • @freezed

Constructors

Text({@JsonKey(name: 'api_id', includeIfNull: false) String? key, required String text, @JsonKey(includeIfNull: false) String? status, @JsonKey(includeIfNull: false) String? notes, @JsonKey(includeIfNull: false, fromJson: variablesFromJson, toJson: variablesToJson) List<Variable>? variables, @JsonKey(includeIfNull: false) Plurals? plurals, @JsonKey(fromJson: variantsFromJson, includeIfNull: false) Map<String, Text>? variants, @JsonKey(includeIfNull: false) List<String>? tags, @JsonKey(includeIfNull: false) @JsonKey(name: 'is_comp') bool? isComp, @JsonKey(name: 'component_api_id') String? componentId})
const
factory
Text.fromJson(Map<String, dynamic> json)
factory

Properties

componentId String?
no setterinherited
copyWith → $TextCopyWith<Text>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isComp bool?
no setterinherited
key String?
Viene valorizzato solo se è una chiave di primo livello
no setterinherited
notes String?
no setterinherited
plurals Plurals?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
no setterinherited
tags List<String>?
no setterinherited
text String
no setterinherited
variables List<Variable>?
no setterinherited
variants Map<String, Text>?
no setterinherited

Methods

applyVariables(Map<String, String>? toApply) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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