Map<String, dynamic> toJson() => { 'headFrames': headFrames?.map((e) => e.toJson()).toList(), 'headFrameId': headFrameId, };