toJson method

Map<String, dynamic> toJson()

Returns a json representation of an instance of WritingArea.

Implementation

Map<String, dynamic> toJson() => {
      'width': width,
      'height': height,
    };