CreateBlockRequest constructor

CreateBlockRequest({
  1. required BlockType type,
  2. required BlockContent content,
  3. String? parentId,
  4. required int position,
  5. Map<String, Object> properties = const {},
})

Returns a new CreateBlockRequest instance.

Implementation

CreateBlockRequest({
  required this.type,
  required this.content,
  this.parentId,
  required this.position,
  this.properties = const {},
});