schema property

Map<String, dynamic> 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/painting/BoxFit-class.html',
  'type': 'string',
  'title': 'BoxFit',
  'oneOf': SchemaHelper.enumSchema([
    'contain',
    'cover',
    'fill',
    'fitHeight',
    'fitWidth',
    'none',
    'scaleDown',
  ]),
};