MarkupEntity class

Markup entity. Experimental.

Annotations
  • @freezed

Constructors

MarkupEntity({@JsonKey(name: 'op') required int open, @JsonKey(name: 'oplen') int? openLength, @JsonKey(name: 'cl') required int close, @JsonKey(name: 'cllen') int? closeLength, @JsonKey(name: 'typ') required String type, @JsonKey(name: 'url') String? url, @JsonKey(name: 'repl') String? repl, @JsonKey(name: 'time') String? time, @JsonKey(name: 'childs') List<MarkupEntity>? childs})
const
factory
MarkupEntity.fromJson(Map<String, dynamic> json)
factory

Properties

childs List<MarkupEntity>?
List of internal markup entities.
no setterinherited
close int
Close marker offset.
no setterinherited
closeLength int?
Close marker length.
no setterinherited
copyWith → $MarkupEntityCopyWith<MarkupEntity>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
open int
Open marker offset.
no setterinherited
openLength int?
Open marker length.
no setterinherited
repl String?
Text replacement.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time String?
Time, for Time type.
no setterinherited
type String
Marker type.
no setterinherited
url String?
Url, for Link type.
no setterinherited

Methods

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