Url class

Annotations
  • @freezed

Constructors

Url({required int start, required int end, required String url, required String expandedUrl, required String displayUrl, String? unwoundUrl, String? mediaKey})
const
factory
Url.fromJson(Map<String, Object?> json)
factory

Properties

copyWith → $UrlCopyWith<Url>
no setterinherited
displayUrl String
The URL as displayed in the Twitter client.
no setterinherited
end int
The end position (zero-based) of the recognized URL within the object. This end index is exclusive.
no setterinherited
expandedUrl String
The fully resolved URL.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
mediaKey String?
The unique key to the media.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start int
The start position (zero-based) of the recognized URL within the object. All start indices are inclusive.
no setterinherited
unwoundUrl String?
The full destination URL.
no setterinherited
url String
The URL in the format posted by the user.
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