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