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