toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  "type": type,
  "properties": properties.toJson(),
  "required": List<dynamic>.from(required.map((x) => x)),
};