SimpleImage class

SimpleImage model

Represents a image inside RichText

Annotations
  • @freezed

Constructors

SimpleImage({String? alt, String? copyright, required Dimension dimensions, required String url})
Default constructor
factory
SimpleImage.fromJson(Map<String, dynamic> json)
Converts SimpleImage object to json
factory

Properties

alt → String?
no setterinherited
no setterinherited
copyWith → $SimpleImageCopyWith<SimpleImage>
no setterinherited
dimensions → Dimension
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url → String
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