Symbol class

Annotations
  • @JsonSerializable(explicitToJson: true, fieldRename: FieldRename.snake)

Constructors

Symbol()
Symbol.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
indices List<int>?
An array of integers indicating the offsets within the Tweet text where the symbol/cashtag begins and ends. The first integer represents the location of the $ character in the Tweet text string. The second integer represents the location of the first character after the cashtag. Therefore the difference between the two numbers will be the length of the hashtag name plus one (for the $ character).
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
Name of the cashhtag, minus the leading $ character.
getter/setter pair

Methods

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

Operators

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