CashtagEntityV2 class

Represents cashtag which have been parsed out of the Tweet text.

A cashtag is a company ticker symbol preceded by the U.S. dollar sign, e.g. $TWTR. When you click on a cashtag, you'll see other Tweets mentioning that same ticker symbol.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

CashtagEntityV2({required String tag, required int start, required int end})
const
CashtagEntityV2.fromJson(Map<String, dynamic> json)
factory
CashtagEntityV2.fromRawJson(String str)
factory

Properties

end int
finalinherited
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
tag String
The cashtag value, without leading '$' sign
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() SymbolEntity

Operators

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