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