PrimitiveSchemaDefinition class sealed
Restricted schema definitions that only allow primitive types without nested objects or arrays.
Revisions: 2025-06-18, 2025-11-25, 2026-07-28, ext-tasks/2026-07-28.
- Implemented types
Constructors
-
PrimitiveSchemaDefinition.fromJson(Map<
String, Object?> json) -
Reads the branch
jsonnames; an unrecognised one is kept as UnknownPrimitiveSchemaDefinition.factory
Properties
- description → String?
-
description, on the kinds that carry it.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String?
-
title, on the kinds that carry it.no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
The JSON form of this value.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited