toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (checks != null) 'checks': checks!,
if (displayName != null) 'displayName': displayName!,
if (imageAllowlist != null) 'imageAllowlist': imageAllowlist!,
if (scope != null) 'scope': scope!,
};