ImageNode class

Represents an image node

Inheritance

Constructors

ImageNode({required String url, required String alt, String? title})
Creates a new image node
const

Properties

alt String
The alt text
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
Optional title attribute
final
type String
The type identifier for this node
no setteroverride
url String
The image URL
final

Methods

copyWith({String? url, String? alt, String? title}) ImageNode
Creates a copy of this node
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this node to a JSON representation
override
toString() String
A string representation of this object.
override

Operators

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