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