toJson method

Map toJson()

Implementation

Map toJson() => {
      "date": date,
      "id": id,
      "background": background,
      "foreground": foreground,
    };