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