ViewerConfig constructor

  1. @JsonSerializable(includeIfNull: false)
const ViewerConfig({
  1. @Default(toolsOzoneServerGetConfigViewerConfig) @JsonKey(name: r'$type') String $type,
  2. @UViewerConfigRoleConverter() UViewerConfigRole? role,
  3. @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;