toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      'id': id,
      'attributeTypes': attributeTypes,
      'content': content.toJson(),
      'attributes': attributes,
      'state': state,
    };