ImageUrlMessageContent class

Image URL content in a message.

Implemented types
Annotations
  • @immutable

Constructors

ImageUrlMessageContent({required ImageUrl imageUrl})
Creates an ImageUrlMessageContent.
const
ImageUrlMessageContent.fromJson(Map<String, dynamic> json)
Creates an ImageUrlMessageContent from JSON.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
imageUrl ImageUrl
The image URL details.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The type of this content.
no setteroverride

Methods

copyWith({ImageUrl? imageUrl}) ImageUrlMessageContent
Creates a copy with the given fields replaced.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to JSON.
override
toString() String
A string representation of this object.
override

Operators

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