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://api.flutter.dev/flutter/rendering/BoxConstraints-class.html',
  'type': 'object',
  'title': 'BoxConstraints',
  'additionalProperties': false,
  'properties': {
    'maxHeight': SchemaHelper.numberSchema,
    'maxWidth': SchemaHelper.numberSchema,
    'minHeight': SchemaHelper.numberSchema,
    'minWidth': SchemaHelper.numberSchema,
  },
};