toJson method

dynamic toJson()

Implementation

toJson() =>
    {"id": id, "content": content.map((item) => item.toJson()).toList()};