schema property

Map<String, Object> schema
final

Implementation

static final schema = {
  r'$schema': 'http://json-schema.org/draft-06/schema#',
  r'$id': '$id',
  r'$comment':
      'https://pub.dev/documentation/charts_common/latest/common/InitialSelection-class.html',
  'title': 'InitialSelection',
  'type': 'object',
  'additionalProperties': false,
  'properties': {
    'selectedDataConfig': SchemaHelper.arraySchema(
      SeriesDatumConfigSchema.id,
      includeObject: true,
    ),
    'selectedSeriesConfig': SchemaHelper.anySchema,
    'selectionModelType': SchemaHelper.objectSchema(
      SelectionModelTypeSchema.id,
    ),
    'shouldPreserveSelectionOnDraw': SchemaHelper.boolSchema,
  },
};