MessageDeltaContentText class abstract
The text content that is part of a message.
- Available extensions
- Annotations
-
- @freezed
Constructors
-
MessageDeltaContentText.new({@JsonKey(includeIfNull: false) String? value, @JsonKey(includeIfNull: false) List<
MessageDeltaContentTextAnnotations> ? annotations}) -
Factory constructor for MessageDeltaContentText
constfactory
-
MessageDeltaContentText.fromJson(Map<
String, dynamic> json) -
Object construction from a JSON representation
factory
Properties
-
annotations
→ List<
MessageDeltaContentTextAnnotations> ? -
A list of annotations that point to specific quotes from specific files.
no setterinherited
-
copyWith
→ $MessageDeltaContentTextCopyWith<
MessageDeltaContentText> -
Create a copy of MessageDeltaContentText
with the given fields replaced by the non-null parameter values.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String?
-
The data that makes up the text.
no setterinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_MessageDeltaContentText value)) → TResult -
Available on MessageDeltaContentText, provided by the MessageDeltaContentTextPatterns extension
Aswitch
-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_MessageDeltaContentText value)?) → TResult? -
Available on MessageDeltaContentText, provided by the MessageDeltaContentTextPatterns extension
A variant ofmap
that fallback to returningnull
. -
maybeMap<
TResult extends Object?> (TResult $default(_MessageDeltaContentText value)?, {required TResult orElse()}) → TResult -
Available on MessageDeltaContentText, provided by the MessageDeltaContentTextPatterns extension
A variant ofmap
that fallback to returningorElse
. -
maybeWhen<
TResult extends Object?> (TResult $default(String? value, List< MessageDeltaContentTextAnnotations> ? annotations)?, {required TResult orElse()}) → TResult -
Available on MessageDeltaContentText, provided by the MessageDeltaContentTextPatterns extension
A variant ofwhen
that fallback to anorElse
callback. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this MessageDeltaContentText to a JSON map.
inherited
-
toMap(
) → Map< String, dynamic> - Map representation of object (not serialized)
-
toString(
) → String -
A string representation of this object.
inherited
-
validateSchema(
) → String? - Perform validations on the schema property values
-
when<
TResult extends Object?> (TResult $default(String? value, List< MessageDeltaContentTextAnnotations> ? annotations)) → TResult -
Available on MessageDeltaContentText, provided by the MessageDeltaContentTextPatterns extension
Aswitch
-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(String? value, List< MessageDeltaContentTextAnnotations> ? annotations)?) → TResult? -
Available on MessageDeltaContentText, provided by the MessageDeltaContentTextPatterns extension
A variant ofwhen
that fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
propertyNames
→ const List<
String> - List of all property names of schema