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/dart-ui/Size-class.html',
  'title': 'Size',
  'additionalProperties': false,
  'required': [
    'height',
    'width',
  ],
  'properties': {
    'height': SchemaHelper.numberSchema,
    'width': SchemaHelper.numberSchema,
  },
};