schema property

Map<String, Object> schema
final

Implementation

static final schema = {
  r'$schema': 'http://json-schema.org/draft-07/schema#',
  r'$id': id,
  r'$comment':
      'https://api.flutter.dev/flutter/painting/BoxShadow-class.html',
  'type': 'object',
  'title': 'BoxShadow',
  'additionalProperties': false,
  'properties': {
    'blurRadius': SchemaHelper.numberSchema,
    'blurStyle': SchemaHelper.objectSchema(BlurStyleSchema.id),
    'color': SchemaHelper.objectSchema(ColorSchema.id),
    'offset': SchemaHelper.objectSchema(OffsetSchema.id),
    'spreadRadius': SchemaHelper.numberSchema,
  },
};