NiceSchemaField.fromJson constructor
Implementation
factory NiceSchemaField.fromJson(Map<String, dynamic> json) {
return NiceSchemaField(
name: json['name'] as String,
type: json['type'] as String,
required: json['required'] as bool? ?? false,
defaultValue: json['default'],
description: json['description'] as String?,
);
}