Creates a Comment instance from a JSON map.
static Comment? fromJson(Map? json) { if (json == null) { return null; } return Comment( json, id: json['id'], ); }