PortableText class

Annotations
  • @freezed

Constructors

PortableText({required String style, required List<MarkDef> markDefs, required List<Child> children, @JsonKey(name: '_key') required String key, @JsonKey(name: '_type') required String type, int? level, String? listItem})
const
factory
PortableText.fromJson(Map<String, Object?> json)
factory

Properties

children List<Child>
no setterinherited
copyWith → $PortableTextCopyWith<PortableText>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
key String
no setterinherited
level int?
no setterinherited
listItem String?
no setterinherited
markDefs List<MarkDef>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style String
no setterinherited
type 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