toJson method

Object toJson()

Convert the Part content to json format.

Implementation

Object toJson() => {
      'thought': ?isThought,
      'thoughtSignature': ?_thoughtSignature,
    };