toJson method

Map<String, dynamic> toJson()

Returns a json representation of an instance of WritingArea.

Implementation

Map<String, dynamic> toJson() => {
      'preContext': preContext,
      'writingArea': writingArea?.toJson(),
    };