LiteralJsonSchemaProperty class

Available extensions
Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

LiteralJsonSchemaProperty({required LiteralJsonSchemaPropertyType type, String? description, String? dynamicVariable, dynamic constantValue})
const
LiteralJsonSchemaProperty.fromJson(Map<String, dynamic> json)
factory

Properties

constantValue → dynamic
final
description String?
final
dynamicVariable String?
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type LiteralJsonSchemaPropertyType
final

Methods

copyWith({LiteralJsonSchemaPropertyType? type, String? description, String? dynamicVariable, dynamic constantValue}) LiteralJsonSchemaProperty

Available on LiteralJsonSchemaProperty, provided by the $LiteralJsonSchemaPropertyExtension extension

copyWithWrapped({Wrapped<LiteralJsonSchemaPropertyType>? type, Wrapped<String?>? description, Wrapped<String?>? dynamicVariable, Wrapped? constantValue}) LiteralJsonSchemaProperty

Available on LiteralJsonSchemaProperty, provided by the $LiteralJsonSchemaPropertyExtension extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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

Constants

fromJsonFactory → const LiteralJsonSchemaProperty Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(LiteralJsonSchemaProperty instance)