UrlEntityV2 class
Represents URLs included in the text of a Tweet or within textual fields of a user object.
Constructors
- UrlEntityV2({required String url, required String expandedUrl, required String displayUrl, required int start, required int end})
-
const
-
UrlEntityV2.fromJson(Map<
String, dynamic> json) -
factory
- UrlEntityV2.fromRawJson(String str)
-
factory
Properties
- displayUrl → String
-
URL pasted/typed into Tweet.
final
- end → int
-
finalinherited
- expandedUrl → String
-
Expanded version of
display_url
.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → int
-
finalinherited
- url → String
-
Wrapped URL, corresponding to the value embedded directly into the raw Tweet text, and the values for the start/end parameter.
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
-
toV1(
) → UrlEntity
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited