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