RTSchema class

Annotations
  • @freezed

Constructors

RTSchema.new({required String type, String? title, Map<String, RTSchema>? properties, String? format, int? minLength, int? maxLength, @JsonKey(name: 'required') List<String>? requiredValues, String? description, @JsonKey(name: 'default') int? defaultValue, @JsonKey(name: 'enum') List<String>? enumValues, RTSchema? items})
factory
RTSchema.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $RTSchemaCopyWith<RTSchema>
Create a copy of RTSchema with the given fields replaced by the non-null parameter values.
no setterinherited
defaultValue int?
no setterinherited
description String?
no setterinherited
enumValues List<String>?
no setterinherited
format String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
items RTSchema?
no setterinherited
maxLength int?
no setterinherited
minLength int?
no setterinherited
properties Map<String, RTSchema>?
no setterinherited
requiredValues List<String>?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
no setterinherited
type String
no setterinherited
typeEnum RTSchemaType
no setter

Methods

getFromScope(String scope) RTSchema?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this RTSchema to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

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