embedded method

IMSchemaProperty embedded(
  1. JsonPath basePath
)

Implementation

IMSchemaProperty embedded(JsonPath basePath) {
  final existingPath = jsonPath;
  return IMSchemaProperty.of(
    type: type,
    path: "${basePath + existingPath}",
    label: label,
    description: description,
    uri: uri,
    baseCode: baseCode,
    isRequired: isRequired,
  );
}