toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final annotations = this.annotations;
  final blocks = this.blocks;
  final text = this.text;
  final type = this.type;
  return {
    'annotations': ?annotations,
    'blocks': ?blocks,
    'text': ?text,
    'type': ?type,
  };
}