RichableImage class abstract

Implemented types

Constructors

RichableImage({required Dimension dimensions, required String url, String? alt, String? copyright})
const
factory
RichableImage.fromJson(Map<String, dynamic> json)
factory

Properties

alt String?
no setter
no setter
copyWith → _$$RichableImageCopyWith<_$RichableImage>
no setter
dimensions Dimension
no setter
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 setter

Methods

map<TResult extends Object?>({required TResult heading1(RichableHeading1 value), required TResult heading2(RichableHeading2 value), required TResult heading3(RichableHeading3 value), required TResult heading4(RichableHeading4 value), required TResult heading5(RichableHeading5 value), required TResult heading6(RichableHeading6 value), required TResult paragraph(RichableParagraph value), required TResult listItem(RichableListItem value), required TResult orderedListItem(RichableOrderedListItem value), required TResult image(RichableImage value), required TResult embed(RichableEmbed value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? heading1(RichableHeading1 value)?, TResult? heading2(RichableHeading2 value)?, TResult? heading3(RichableHeading3 value)?, TResult? heading4(RichableHeading4 value)?, TResult? heading5(RichableHeading5 value)?, TResult? heading6(RichableHeading6 value)?, TResult? paragraph(RichableParagraph value)?, TResult? listItem(RichableListItem value)?, TResult? orderedListItem(RichableOrderedListItem value)?, TResult? image(RichableImage value)?, TResult? embed(RichableEmbed value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult heading1(RichableHeading1 value)?, TResult heading2(RichableHeading2 value)?, TResult heading3(RichableHeading3 value)?, TResult heading4(RichableHeading4 value)?, TResult heading5(RichableHeading5 value)?, TResult heading6(RichableHeading6 value)?, TResult paragraph(RichableParagraph value)?, TResult listItem(RichableListItem value)?, TResult orderedListItem(RichableOrderedListItem value)?, TResult image(RichableImage value)?, TResult embed(RichableEmbed value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult heading1(List<Span> spans, String text, String type)?, TResult heading2(List<Span> spans, String text, String type)?, TResult heading3(List<Span> spans, String text, String type)?, TResult heading4(List<Span> spans, String text, String type)?, TResult heading5(List<Span> spans, String text, String type)?, TResult heading6(List<Span> spans, String text, String type)?, TResult paragraph(List<Span> spans, String text, String type)?, TResult listItem(List<Span> spans, String text, String type)?, TResult orderedListItem(List<Span> spans, String text, String type)?, TResult image(Dimension dimensions, String url, String? alt, String? copyright)?, TResult embed(EmbedData info, String type)?, required TResult orElse()}) → TResult
inherited
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
when<TResult extends Object?>({required TResult heading1(List<Span> spans, String text, String type), required TResult heading2(List<Span> spans, String text, String type), required TResult heading3(List<Span> spans, String text, String type), required TResult heading4(List<Span> spans, String text, String type), required TResult heading5(List<Span> spans, String text, String type), required TResult heading6(List<Span> spans, String text, String type), required TResult paragraph(List<Span> spans, String text, String type), required TResult listItem(List<Span> spans, String text, String type), required TResult orderedListItem(List<Span> spans, String text, String type), required TResult image(Dimension dimensions, String url, String? alt, String? copyright), required TResult embed(EmbedData info, String type)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? heading1(List<Span> spans, String text, String type)?, TResult? heading2(List<Span> spans, String text, String type)?, TResult? heading3(List<Span> spans, String text, String type)?, TResult? heading4(List<Span> spans, String text, String type)?, TResult? heading5(List<Span> spans, String text, String type)?, TResult? heading6(List<Span> spans, String text, String type)?, TResult? paragraph(List<Span> spans, String text, String type)?, TResult? listItem(List<Span> spans, String text, String type)?, TResult? orderedListItem(List<Span> spans, String text, String type)?, TResult? image(Dimension dimensions, String url, String? alt, String? copyright)?, TResult? embed(EmbedData info, String type)?}) → TResult?
inherited

Operators

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