ViewerConfig constructor
- @JsonSerializable(includeIfNull: false)
- @Default(toolsOzoneServerGetConfigViewerConfig) @JsonKey(name: r'$type') String $type,
- @UViewerConfigRoleConverter() UViewerConfigRole? role,
- @JsonKey(name: r'$unknown') Map<
String, dynamic> ? $unknown,
Implementation
@JsonSerializable(includeIfNull: false)
const factory ViewerConfig({
/// The unique namespace for this lex object.
///
/// `tools.ozone.server.getConfig#viewerConfig`
@Default(toolsOzoneServerGetConfigViewerConfig)
@JsonKey(name: r'$type')
String $type,
@UViewerConfigRoleConverter() UViewerConfigRole? role,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _ViewerConfig;