NiceViewSchema class
Cross-platform JSON View Schema — the root schema format shared identically between React and Flutter.
Constructors
-
NiceViewSchema({required String id, required String name, String? description, required String module, String layout = 'column', required List<
NiceViewSchemaComponent> components, int version = 1, String? schemaVer, Map<String, dynamic> meta = const {}}) -
const
-
NiceViewSchema.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
components
→ List<
NiceViewSchemaComponent> -
final
- description → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- layout → String
-
final
-
meta
→ Map<
String, dynamic> -
final
- module → String
-
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schemaVer → String?
-
final
- version → int
-
final
Methods
-
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
-
validate(
) → List< String> - Validate the schema for common issues.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- schemaVersion → const String