core.Map<core.String, core.dynamic> toJson() => { if (notes != null) 'notes': notes!.map((value) => value.toJson()).toList(), };