toJson method

  1. @override
Map<String, dynamic> toJson()
override

Serializes the object to its JSON representation.

Implementation

@override
Map<String, dynamic> toJson() => {}
  ..putOpt("before", before)
  ..putOpt("highlight", highlight)
  ..putOpt("after", after);