loadSchemaByName method

bool loadSchemaByName(
  1. String schemaName
)

Loads the schema from the registry by name

Implementation

bool loadSchemaByName(String schemaName) {
  final schema = SchemaRegistry.getSchema(schemaName);
  if (schema != null) {
    setDataSchema(schema);
    return true;
  }
  return false;
}