DraftObject class

Constructors

DraftObject({required List<RawDraftContentBlock> blocks, required Map<String, RawDraftEntityKeyStringAny> entityMap})
DraftObject.fromJson(Map<String, dynamic> json)
factory
DraftObject.fromRawJson(String str)
factory

Properties

blocks List<RawDraftContentBlock>
final
entityMap Map<String, RawDraftEntityKeyStringAny>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({List<RawDraftContentBlock>? blocks, Map<String, RawDraftEntityKeyStringAny>? entityMap}) DraftObject
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toRawJson() String
toString() String
A string representation of this object.
inherited

Operators

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