schemaForField static method

ChartJsonOptionSchema? schemaForField(
  1. String fieldName, {
  2. String? containerPath,
})

Implementation

static ChartJsonOptionSchema? schemaForField(
  String fieldName, {
  String? containerPath,
}) {
  for (final schema in forField(fieldName, containerPath: containerPath)) {
    return schema;
  }
  return null;
}