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