toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "id": id,
      "author": author,
      "date_created": dateCreated!.toIso8601String(),
      "date_created_gmt": dateCreatedGmt!.toIso8601String(),
      "note": note,
      "customer_note": customerNote,
      "_links": links!.toJson(),
    };