LinkPart class

A link part of a message's content, representing a URL.

Inheritance

Constructors

LinkPart.new(Uri url, {String? mimeType, String? name})
Creates a LinkPart with the given url.
LinkPart.fromJson(Map<String, dynamic> json)
Creates a LinkPart from a JSON map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
mimeType String
The MIME type of the content at the URL.
final
name String
The name of the link part.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url Uri
The URL of the link.
final

Methods

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

Operators

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