Properties class

Constructors

Properties({required String key, required JsonSchemaType type, required String title, required bool readOnly, required bool isRequired, List<RawBuilder>? raw, String? description, List<String>? fields, ValidationSchema? validations, int? maxLine, dynamic answer})
Properties.fromJson(Map<String, dynamic> json)
factory

Properties

answer ↔ dynamic
getter/setter pair
description String?
A long description of the element. Used in hover menus and suggestions.
final
fields List<String>?
The value MUST be list of string or null fields use for form type checkbox, option, and header formater
final
hashCode int
The hash code for this object.
no setterinherited
isRequired bool
required
final
key String
A key for use controller and MUST be unique
final
maxLine int?
The value MUST be int or null Maxline use for input object
final
raw List<RawBuilder>?
raw Object use for model
final
readOnly bool
The value of these keywords MUST be a boolean. When multiple occurrences
of these keywords are applicable to a single sub-instance, the resulting
behavior SHOULD be as for a true value if any occurrence specifies a true
value, and SHOULD be as for a false value otherwise.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
A descriptive title of the element.
final
type JsonSchemaType
The value of this keyword MUST be either a string or an array. If it is an array, elements of the array MUST be strings and MUST be unique.
final
validations → ValidationSchema?
Validation Object use for model validation
final

Methods

copyWith({String? key, String? title, String? description, int? maxLine, bool? readOnly, bool? isRequired, JsonSchemaType? type, List<String>? fields, dynamic answer}) Properties
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.
inherited

Operators

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