Map<String, dynamic> toJson() => { "id": id, "widgets": List<dynamic>.from( widgets!.map( (x) => x.toJson(), ), ), };