OpenApiSchemaOneOf class abstract

Inheritance

Constructors

OpenApiSchemaOneOf({@OpenApiSchemaJsonConverter() @JsonKey(name: _oneOfKey) required List<OpenApiSchema>? oneOf, @JsonKey(name: 'description') String? description, @JsonKey(name: 'title') String? title, @JsonKey(name: 'discriminator') required OpenApiSchemaOneOfDiscriminator discriminator})
const
factory
OpenApiSchemaOneOf.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$OpenApiSchemaOneOfImplCopyWith<_$OpenApiSchemaOneOfImpl>
Create a copy of OpenApiSchema with the given fields replaced by the non-null parameter values.
no setter
description String?
no setter
discriminator OpenApiSchemaOneOfDiscriminator
no setter
hashCode int
The hash code for this object.
no setterinherited
oneOf List<OpenApiSchema>?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
no setter

Methods

map<TResult extends Object?>({required TResult type(OpenApiSchemaType value), required TResult ref(OpenApiSchemaRef value), required TResult anyOf(OpenApiSchemaAnyOf value), required TResult oneOf(OpenApiSchemaOneOf value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? type(OpenApiSchemaType value)?, TResult? ref(OpenApiSchemaRef value)?, TResult? anyOf(OpenApiSchemaAnyOf value)?, TResult? oneOf(OpenApiSchemaOneOf value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult type(OpenApiSchemaType value)?, TResult ref(OpenApiSchemaRef value)?, TResult anyOf(OpenApiSchemaAnyOf value)?, TResult oneOf(OpenApiSchemaOneOf value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult type(List<String>? enum_, OpenApiSchemaVarType? type, OpenApiSchema? items, int? maxLength, int? minLength, String? format, String? description, String? pattern, Object? const_, Object? default_, String? title)?, TResult ref(String? ref, String? description, Object? default_)?, TResult anyOf(List<OpenApiSchema>? anyOf, String? description, String? title, Object? default_)?, TResult oneOf(List<OpenApiSchema>? oneOf, String? description, String? title, OpenApiSchemaOneOfDiscriminator discriminator)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this OpenApiSchema to a JSON map.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult type(List<String>? enum_, OpenApiSchemaVarType? type, OpenApiSchema? items, int? maxLength, int? minLength, String? format, String? description, String? pattern, Object? const_, Object? default_, String? title), required TResult ref(String? ref, String? description, Object? default_), required TResult anyOf(List<OpenApiSchema>? anyOf, String? description, String? title, Object? default_), required TResult oneOf(List<OpenApiSchema>? oneOf, String? description, String? title, OpenApiSchemaOneOfDiscriminator discriminator)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? type(List<String>? enum_, OpenApiSchemaVarType? type, OpenApiSchema? items, int? maxLength, int? minLength, String? format, String? description, String? pattern, Object? const_, Object? default_, String? title)?, TResult? ref(String? ref, String? description, Object? default_)?, TResult? anyOf(List<OpenApiSchema>? anyOf, String? description, String? title, Object? default_)?, TResult? oneOf(List<OpenApiSchema>? oneOf, String? description, String? title, OpenApiSchemaOneOfDiscriminator discriminator)?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited